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

0
votes
1answer
721 views

SWAP CRITICAL - 100% free (0 MB out of 0 MB)?

ANy ideas how to address this issue ....I am on ubuntu 10.04 on amazon ec2 here is the image
3
votes
5answers
806 views

How to prevent going to SWAP?

We have a critical application which uses pretty much of our RAM memory. At most time the application stays in RAM, however there are some situation (e.g. when some other applications and deamons ...
0
votes
2answers
246 views

swap on dev + but get mount dev + how to swap dev anyway?

when I do the: mkswap /dev/sda3 mkswap: error: /dev/sda3 is mounted; will not make swapspace. how to perfrom mkswap anyway , David
0
votes
1answer
257 views

swap never used, system freezes with high HD action when RAM is short

My system freezes quite often when run out of memory, I have 2GB and using netbeans, chrome, firefox and a few other apps this is consumed completely. Seems to me since I upgraded to ubuntu natty. ...
0
votes
4answers
3k views

linux redhat 5.4 - swap while memory is still available

This server is swapping using 100% (15G swap disk) while it still has 30G free, I've been looking arround but can't figure why this is happening, my understanding was not to use swap if memory is ...
0
votes
3answers
110 views

Paritition an LVM LV

I have an LVM logical volume (LV) and would like to create partitions within this LV to provide an ext3 partition and a swap partition. This LV would then get mounted as a disk to a virtual machine ...
3
votes
2answers
663 views

Linux: Where to put the swap file

Are there any conventions on where to put swap files on Linux? I usually just create them in /var/swapfile, but that seems a bit too high up in the hierarchy.
2
votes
2answers
601 views

Resizing swap partition (RHEL 5.x)

Following is how parted print looks like: (parted) print Model: VMware Virtual disk (scsi) Disk /dev/sda: 26.8GB Sector size ...
0
votes
2answers
361 views

Linux swap partition not recognized on reboot

When I reboot my Linux server the swap space reads 0 in top. I am running a vanilla install of CentOS 5.2 /etc/fstab looks fine from what I can tell /dev/VolGroup00/LogVol01 swap swap defaults 0 0 ...
0
votes
3answers
3k views

How does putting swap space on an SSD affect performance?

This is more of a generic question I'm interested in, rather than something I'm planning to use in production. If I got, saym a 40GB SSD drive and allocated the entire drive to be swap space leaving ...
3
votes
3answers
754 views

Identifying a process that leaks memory

On a linux server (Ubuntu Lucid), my used swap keeps growing by the hour on a server, and I'm having a hard time identifying which process is growing in swap. What tool can I use to monitor this?
1
vote
1answer
667 views

Problem with setting up partitions - encrypted swap partition won't mount

Here's the layout I have; I'm using Software RAID10, LVM, and Encryption: LVM VG vg0, LV main - 2.0 TB Linux device-mapper (linear) #1 2.0 TB K crypto (vg0-main_crypt) ...
0
votes
4answers
2k views

Server super slow, RAM & Swap 100% used, ClamAV problem?

My Ubuntu 10.04 server is down since this morning. When I restart it, I can use it for a couple of minutes then the RAM and Swap get full, and SSH doesn't answer. It seems ClamAV is part of the ...
2
votes
1answer
110 views

suspend process if number of hard page faults surpasses a given amount per second

Is there a way in linux to send a signal or otherwise install an handler to be called when a process surpasses a given rate of hard page faults per second? A simple sigstop would avoid many ...
3
votes
4answers
892 views

Running swap on RAID10 or RAID5?

In follow-up to this previous question (and it's excellent answer), I am curious to know if running swap on a RAID5 might not be better than on a RAID10. My thinking is that you might lose a bit on ...
0
votes
1answer
782 views

What do the output values of dstat command mean when monitoring IO?

I am monitoring the IO and SWAP usage of a process in my backup server. I executed dstat -rs 5 and this was an example output: --io/total- ----swap--- read writ| used free 92.0 57.3 |3228k 514M ...
0
votes
2answers
213 views

Moving/Adding Additional Swap Location - Redhat 5

OK, here's what's going on. I've got a RedHat 5 server with a swap partition (/dev/sda3) that's 3GB. For some reason swap memory is still being taken up on / (/dev/sda2), and fills up the drive on ...
3
votes
2answers
623 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
283 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
328 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
336 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
753 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
157 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
749 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
957 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
1k 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 ...
35
votes
4answers
14k 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?
3
votes
3answers
6k views

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

how to increase swap memory in debian?
1
vote
3answers
569 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
520 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
136 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 ...
3
votes
4answers
3k 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
203 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.. ...
4
votes
2answers
4k 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 ...
3
votes
2answers
961 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
714 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
248 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
386 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
589 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 ...
3
votes
6answers
6k 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
141 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)?
4
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
381 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
734 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 ...
2
votes
4answers
708 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
194 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 ...