Didnt use swap memory in CentOS 5.4
I found out that my CentOS 5.4 linux does not use any swap memory!!
here is the #top output: top - 10:02:49 up 27 min, 5 users, load average: 4.22, 3.45, 2.24 Tasks: 173 total, 4 running, 166 sleeping, 0 stopped, 3 zombie Cpu(s): 71.1%us, 26.1%sy, 0.0%ni, 0.2%id, 0.0%wa, 2.7%hi, 0.0%si, 0.0%st Mem: 3081388k total, 1729216k used, 1352172k free, 69544k buffers Swap: 5140760k total, 0k used, 5140760k free, 865316k cached I wonder why swap memory is not used! I also face auto-restart issue while running few tasks. Does it relate to the swap memory??? uanme -r -> 2.6.18-164.el5 I remember that my i have allocated about 5G for swap memory. However I put it into different partition and far away from root partition due to diskspace partition. Does it matter? I do not know how to show the swap memory partition or partition map over here. here is the mount output /dev/sda2 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda7 on /home type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) /dev/sda3 on /mnt/win_c type fuseblk (rw,allow_other,blksize=4096) /dev/sda5 on /mnt/win_f type fuseblk (rw,allow_other,blksize=4096) /dev/sda6 on /app type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) |
If the system wants to use the swap it will.
Why didn't you include the users that are chewing up all the CPU in that top listing ?. |
I did run several simulation. The swap memory remained the same, 0k used
|
All times are GMT -5. The time now is 04:57 PM. |