We help IT Professionals succeed at work.

swap full

304 Views
Last Modified: 2013-12-06
Does anywhere here experience this before:


top - 02:15:16 up 11 days, 11:03,  3 users,  load average: 0.01, 0.01, 0.00
Tasks: 165 total,   1 running, 156 sleeping,   8 stopped,   0 zombie
Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 99.9% id,  0.1% wa,  0.0% hi,  0.0% si
Mem:   4086472k total,  3078524k used,  1007948k free,    16556k buffers
Swap:  8387228k total,  8387004k used,      224k free,   784296k cached

My swap usage is 99% until 100%....it makes my server hang..

How to check which process eat a lot of swap...seems my memory was ok....only swap is full

by the way im using redhat AS release 4
Comment
Watch Question

Top Expert 2005
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
my message log:

Free pages:       15308kB (1856kB HighMem)
Active:710696 inactive:279144 dirty:0 writeback:0 unstable:0 free:3827 slab:6471 mapped:920108 pagetables:14034
DMA free:12540kB min:16kB low:32kB high:48kB active:0kB inactive:0kB present:16384kB pages_scanned:11719 all_unreclaimable? yes
protections[]: 0 0 0
Normal free:912kB min:928kB low:1856kB high:2784kB active:159220kB inactive:641704kB present:901120kB pages_scanned:1110540 all_unreclaimable? yes
protections[]: 0 0 0
HighMem free:1856kB min:512kB low:1024kB high:1536kB active:2683564kB inactive:474872kB present:3735548kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
DMA: 5*4kB 3*8kB 3*16kB 3*32kB 3*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 2*4096kB = 12540kB
Normal: 0*4kB 4*8kB 1*16kB 1*32kB 1*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 912kB
HighMem: 216*4kB 56*8kB 2*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1856kB
Swap cache: add 10444612, delete 10440403, find 1470344/1712379, race 3+225
0 bounce buffer pages
Free swap:            0kB
1163263 pages of RAM
802802 pages of HIGHMEM
141645 reserved pages
1005300 pages shared
4226 pages swap cached
Out of Memory: Killed process 25566 (httpd).
Top Expert 2005

Commented:
OOM killer chooses process to kill by two manners
- current process
- largest process that is not running as root and is possibly nice(httpd fits here)

Have You verified with top largest processes?

Author

Commented:
yeah it http process...is being verify. thank you.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.