Linux divides its physical RAM (random access memory) into chucks of memory called pages. Swapping is the process whereby a page of memory is copied to the preconfigured space on the hard disk, called swap space, to free up that page of memory. The combined sizes of the physical memory(RAM) and the ...

learn more… | top users | synonyms

2
votes
2answers
3k views

How much swap space for a 32GB ubuntu virtualization server?

I looked at many other questions on here regarding swap space, but none that I found really addressed my particular situation. I have an Ubuntu 9.10 64-bit server with 32GB of RAM running as a KVM ...
33
votes
9answers
9k views

Linux: how to explicitly unswap everything possible?

I've launched something that took lots of memory and now everything lags a lot. I guess all applications' memory has gone to swap in order to free some space for the memory-intensive process, and now ...
5
votes
3answers
4k views

Running out of swap space on web servers, what to do?

I have 2 LAMP web servers that are routinely running out of swap space (see attached top screenshot). Apache's settings are as follows: <IfModule prefork.c> StartServers 64 ...
1
vote
3answers
3k views

(CentOS) Adding swap file failed

Im trying adding swap file by following this guide: http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html Everything is fine, but starting swapon /swapfile, I got ...
3
votes
5answers
586 views

Newbie ask Swap Value: How much Swap do I have?

When looking vmstat, this is what I got: procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id ...
7
votes
4answers
441 views

What are the exact conditions based on which Linux swaps process(s) memory from RAM to a swap file?

My server has 8Gigs of RAM and 8Gigs configured for swap file. I have memory intensive apps running. These apps have peak loads during which we find swap usage increase. Approximately 1 GIG of swap is ...
5
votes
4answers
5k views

Constantly Increasing swap size in Linux and Swap space not being reclaimed?

I have a 8GB RAM linux box on which 4 tomcat servers are running. One of the them is set to 3000MB memory(jvm -Xms and -Xmx setting) and others are set to 1500MB. The swap partition is also set to ...
0
votes
1answer
1k views

Iomega NAS ix2-200 RAID mode questions?

I am looking forward to buy a NAS. Now I have found one which looks quiet interesting, it's the "Iomega StorCenter NAS ix2-200 4.0 TB". I will use it to store Mac OS X TimeMachine Backups and as a ...
4
votes
5answers
1k views

SSDs as Linux swap for large virtual mem applications?

This question topically touched on this, but running on 64-bit Linux, I have a set of data caching JVMs as well as wanting a large web cache. Each cache today is configured to in gross fit in system ...
0
votes
1answer
10k views

Deleting windows.edb and unchecking Indexing service lead to hard drive file records swapping

I followed the instructions listed here:http://www.mydigitallife.info/2007/09/18/turn-off-and-disable-search-indexing-service-in-windows-xp/ to free up space on hard drive by deleting the windows.edb ...
0
votes
1answer
1k views

VMware guest still swapped after reserving RAM

The guest was swapping, after adding 100% memory reservation it continued to do so. After a restart - after some time not much changed. How can a VM who's memory is 'reserved' be swapping?
0
votes
1answer
827 views

How do i enable memory overcommit on solaris?

on a solaris 8 server with a specific workload, how do i turn on memory overcommit (à la Linux) ? # Memory size: 65536 Megabytes sun[root] # vmstat 1 procs memory page disk ...
4
votes
5answers
4k views

How much swap do you allocate for your Solaris server?

I'm still seeing system administrators using the old rule of thumb that swap should be double the memory, even in servers with 32GB of memory. These systems have relatively expensive disks (shipping ...
18
votes
4answers
19k views

How do I tell if my Windows server is swapping?

I'm using Process Explorer to monitor my windows server while it reconstructs some data. It's primarily a CPU intensive process, but I want to make sure it's not swapping. How can I tell if it is ...
0
votes
3answers
672 views

Slicehost too much swap usage

I currently have a website running on Slicehost. It is running the MySource Matrix CMS which does take up a fair amount of resources. Every once in a while, I get an alert from slice host saying ...
4
votes
2answers
450 views

How is my server hitting swap?

Here is the summary from 'top' command top - 20:14:50 up 18 days, 23 min, 1 user, load average: 0.22, 0.20, 0.18 Tasks: 99 total, 1 running, 98 sleeping, 0 stopped, 0 zombie Cpu(s): ...
0
votes
2answers
180 views

Mount shows as swap instead of ext3

Easy all, I have a hard drive with 4 partitions setup. boot/swap/root/home I recently installed windows onto the / partition as i needed it, and now that i'm switching back to linux it's showing ...
3
votes
4answers
2k views

Windows swap file: why do I have a 3GB swap file when I have 8GB RAM?

Here is my system info: I built a DIY system with the expectation that there wouldn't be any need for a swap file, yet there it is, 3340MB. Can anyone explain this? Is it really anything I ...
3
votes
5answers
509 views

Swap space getting used

I am having a system with 8GB of RAM and running mysql on it ,top command shows Mem: 8124416k total, 8110004k used, 14412k free, 21292k buffers Swap: 8388600k total, 1712132k used, ...
8
votes
6answers
8k views

CentOS How Much SWAP for 16GB of RAM?

How much SWAP would you give a CentOS install on a dual Quad Core XEON with 16GB of RAM that is going to be running a php website with a mysql backend - medium/heavy load?
1
vote
1answer
2k views

How to change the SWAP file disk in Mac OS X?

I have moved my system on andexternal Raid 1 enclosure attachet to my iMac through Firewire 800 (the best an iMac can do ;-( ) ... I'd like to move the swap on the internal disk in order to increase ...
6
votes
6answers
18k views

What is swap memory?

I am using RAM for storing some of my database tables and the others are stored in hard disk. Today I came to know that my processes are using swap memory. Now what is swap memory and how can I ...
4
votes
8answers
2k views

Swap file fragmentation: fact or fiction?

This is about Windows, but I'm sure it applies to other OS as well. I've heard people say that if you want better performance, you should avoid swap file fragmentation. To do this, you can either ...
22
votes
5answers
16k views

swap partition vs file for performance?

What is better for performance? A partition closer to the inside of the disk will have slower access times, and we must wait for the drive to switch between the OS and swap partitions. On the other ...
4
votes
4answers
3k views

How can I monitor what process is swapping?

I have a linux webserver. It's running Apache and a python based web application and postgres. It's quite slow. By running ab (apache benchmark) and vmstat I could see that it was swapping while ...
1
vote
4answers
520 views

Should Swap be used like this?

I have a server with Dual Nehalem Quad Core Xeon 5520 and 12GB DDR3 RAM. The server's average memory usage is only around 10-15%, yet the Swap used shows 10%+. Is this normal, or could something be ...
5
votes
7answers
5k views

Do I even need a swap partition with Linux?

I have a core 2 laptop with 4gb of ram. I use the machine for browsing, network stuff and simple programming. (I use this machine to host a small ftp and web server semi-occasionally.) Would there be ...
9
votes
11answers
10k views

Linux server is only using 60% of memory, then swapping

I've got a Linux server that's running our bacula backup system. The machine is grinding like mad because it's going heavy in to swap. The problem is, it's only using 60% of its physical memory! ...
9
votes
10answers
6k views

How big should the swap partition be?

for some years, I've read that it's a good idea to create a swap partition having the double space of my RAM. does it still apply today? or this isn't needed anymore? I have a server with 8 GiB of ...
5
votes
4answers
9k views

How do I change swap partition in Linux?

How do I change swap partition in Linux? If I currently use /dev/hda3 for swap, and I rather would like to use /dev/hda4, which steps should I go through?
4
votes
1answer
1k views

Swap file for a Hyper-V host

We have a machine running Windows 2008 Enterprise with the Hyper-V Server role. The machine has 48 GB of RAM, and a RAID1 of just 74 GB. The VMs are stored on a SAN. My question is, does the Hyper-V ...
3
votes
4answers
616 views

What size relative to amount of memory should the page file be (in Windows Server 2008)?

I have heard the old advice for Windows NT 4 which, if memory serves, was a rule of thumb "memory size plus 12 MB" (so that a complete dump could be written to disk). Does anybody have any ...
2
votes
5answers
5k views

Solaris Unix systems swapping & blocked processes

Some users are complaining of poor performance on a brand new server. The only running on this machine is Oracle 10.2. At first glance everything looks ok: load is minimal, nothing in logs. The only ...
-1
votes
2answers
130 views

How to control the swap drive (X:\drive) usage?

I am not really a network administrator but my company has LAN which has around 1500 computers. The offices are located in various geographical locations. The problem we face is that the use of swap ...
41
votes
12answers
27k views

How much SWAP space on a high memory system?

How should I decide what size to make my swap size on a new linux machine (Debian) with a reasonably large amount of Ram (2-4 GB)? Do I really need swap space defined?