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

4
votes
2answers
746 views

Linux OOM disk I/O. Also: swap, what is it good for?

I'm having problems with the OOM killer on one of my Linux (2.6.37) installs. The computer has 4GB of memory which I sometimes utilize fully. In those cases, I expect the OOM handler to come in and ...
0
votes
2answers
406 views

linux + swap definition

how to decrease the Priority to 1 in place of 2 as described below? swapon -s Filename Type Size Used Priority dev/cciss/c0d0p6 ...
0
votes
1answer
386 views

LINUX + red hat + How to define swap on disk partition: /dev/cciss/c0d0p6

How to define swap (8G usage) on disk partition: /dev/cciss/c0d0p6 ( i have Linux red hat 5.3) for example: in my machine I not have swap definition Swap: 0 0 0 the ...
0
votes
2answers
410 views

Memory is available, but swap gets full over time

On a small VPS of mine, I have enough free memory for the things that are running there (as in the log below), but every once in a while, when I run free -m, I see all the swap is taken up. What ...
10
votes
6answers
9k views

SSD for swap on Ubuntu server

Currently I am reading SSD reviews and I wonder how much exactly I will benefit if I move the 24 GB swap from 7200rpm HDD to SSD. Does anyone implemented swap space on SSD? Is this generally good ...
1
vote
1answer
807 views

Where is the ESX Swap file in ESX 4.1i installed on SD cards?

Where is the ESX swap file located? I have installed ESXi 4.1 on a pair of mirrored SD coards, which came with the Dell server. ESXi runs really quickly, but with no local disks apart from the SD ...
1
vote
1answer
177 views

Exchange 2003 dial-tone with repaired database

After extensive Exchange 2003 DB corruption, we have set a dial-tone as emergency means of service for our users, then began restoring latest back-up to a recovery group, in parallel with fixing the ...
2
votes
1answer
982 views

Too much memory being swapped out, while cache uses it all on Centos 5.4

I've set swappiness on my DB server to zero, but during a large sort operation the swap space used grew even as the cache was still using a lot of memory, and then cache grew but swap was left alone. ...
0
votes
1answer
2k views

AIX swap usage shows ~20%, not even close to maximum load

I got an alarm that my swap usage was up to 80%, which turned to be a fact when I checked topas. The problems I've found were: 1) Looking into a vmstat 5 10, I found lots of PIs with 0 SRs. How's ...
4
votes
3answers
2k views

Do I need SWAP on my server?

I have a particular server : 50GB SSD for the OS (CentOS) , 128GB of RAM and 320GB SSD for MySQL. I'm wondering if I really need SWAP? I often read that 2GB is good even with lots of RAM. This ...
46
votes
4answers
20k views

Why don't EC2 ubuntu images have swap?

I started a couple servers on EC2 and they don't have swap. Am I doing something wrong or is it that the machines just don't have any?
4
votes
3answers
9k views

How do I increase swap memory in debian? [closed]

how to increase swap memory in debian?
1
vote
3answers
683 views

Diagnosing Solaris 8 server memory and swap space usage

Essentially, my question is related to memory allocation for Solaris virtual machines. I am running a couple of old Sun ONE 6 Java web servers on two Solaris 8 virtual machines. I see that there's a ...
1
vote
1answer
574 views

OpenVZ Swap space?

From what I understand with OpenVZ you just increase privvmpages and vmguarpages for the swap memory, and even though the guest shows it as RAM the host will swap it were possible. Am I right here or ...
0
votes
2answers
145 views

PHP APC on 64MB box

I have a small VPS with 64MB RAM. I use it as an internal proxy. I only have one index.php on this server, which has the logic to fetch data from another server using php curl and display to the ...
4
votes
4answers
4k views

Who is using the swap memory and why?

My database server is using 191MB of swap space - but also shows 182MB of free RAM The box is a dedicated MySQL server, running Debian Lenny. How can I determine who and why is filling the swap ...
1
vote
2answers
209 views

I've installed Lighttpd on my VPS, still the webserver relies on swapping

I've lighttpd on Ubuntu 10 on a 256MB RAM VPS. My goal is to completely avoid swapping. I'm running a Drupal webste with some images, shopping cart (no videos.. quite low estimated traffic). So.. ...
5
votes
2answers
5k views

Where should my swap partition/s live when using software RAID1? Performance? LVM?

When I search around for example RAID1 installations, it seems that admins tend to place their swap partition under RAID1. To me, it is more intuitive to have two disks, each with a large partition ...
4
votes
2answers
1k views

Should I turn off swap on AWS EC2?

I'm running a webserver and database server on the same AWS EC2 instance. I know it's a bad idea to have swap for web server, so should I just turn it off? Will it affect the database service (I guess ...
0
votes
2answers
1k views

Which processes are swapped out?

Is there a way to easily find exactly which processes are currently "swapped out" (i.e. currently taking up my swap space). I know that processes are dynamically swapped in and out as needed, but ...
1
vote
1answer
396 views

Diagnose Memory Graph

The monitoring software we use has been flagged a box that serves two apps: Confluence (xms: 1 GB, xmx: 2 GB) JIRA (xms: 1 GB, xmx: 1 GB) These are the only two applications on the box; nothing ...
1
vote
4answers
410 views

How “swappable” are RAID 1 drives?

My lab is considering setting up a server with an attached RAID device for storing our large imaging datasets. (probably a Mac Mini server with attached Promise SmartStor DAS w/ 4 1TB hard drives) ...
1
vote
2answers
119 views

System resets after swap memory is consumed partially

My System resets even if swap memory is consumed partially. What can be the reason for this? How can I can overcome this situation? I am using Suse Linux Enterprise Edition
0
votes
1answer
670 views

Question about VMW Virtual Machine Memory Swapping

I am using vFoglight and get this error, "[Critical] Virtual machine X has moved virtual machine memory from physical pages to the VMware swap file within ESX. This may adversely affect performance ...
4
votes
6answers
8k views

Why should swap size be same or larger than RAM?

Many say that, if you have a 2GB RAM, you should configure a 2GB or more swap. FWIK the hibernation may need the same size swap to persist memory when power off, but generally, if you got a big RAM, ...
1
vote
1answer
151 views

Is the memory which is transferred to swap due to swappiness still cached in the physical memory?

Is the memory which is transferred to swap due to swappiness still cached in the physical memory (until it is invalidated there)?
6
votes
4answers
2k views

When is swap moved back to physical memory?

When is swap moved back to physical memory in Linux? Is it only on demand, ie. when it's needed? Or is swap slowly transfered to physical memory when the computer is not on high load?
2
votes
3answers
417 views

Creating swap files faster

I'm using Amazon EC2 and wish to be able to quickly generate large swapfiles (~10+GB) on instance startup. Unfortunately, I/O speed on my instances (c1.xlarge) is slow enough (20 MB/s) that this ...
7
votes
3answers
1k views

Memory is free, but still swapping?

I'm sure this is a pretty basic question, but I'm just trying to get a grasp of what's going on with my Ubuntu Hardy server running a Rails-based site. It seems that I have free memory available, yet ...
1
vote
1answer
849 views

Why do I get swap space related errors when I still have lots of free memory in Solaris 10?

I am seeing a few of my services suffering/crashing with errors along the lines of "Error allocating memory" or "Can't create new process" etc. I'm slightly confused by this since logs show that at ...
4
votes
4answers
1k views

System swapping … how do I figure out what the problem is

I have an ubuntu vps running that has about 300MB of memory, of which only 20% or less is free right now ... My question is, how can I figure out what particular program I'm running that is causing it ...
0
votes
1answer
199 views

Swap usage in top's output

On a Suse linux machine, I have these swap stats from the top utility: Swap: 2096472k total, 1230612k used, 865860k free, 1792880k cached What does the last number (1792880k cached) mean, and ...
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 ...
43
votes
9answers
13k 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 ...
6
votes
3answers
5k 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 ...
2
votes
2answers
4k 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
781 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
518 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 ...
7
votes
4answers
7k 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
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
984 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 ...
23
votes
4answers
32k 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
675 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
494 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
195 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
531 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, ...