Heavy swap

From: paulose kutty (paulosekutty@hotmail.com)
Date: Thu Jul 31 2003 - 05:17:50 EDT


Hi all,
        We have two 4800 servers (8 CPU , 12 GB RAM ). One server is running Oracle
and other server is running application. It is observed that the memory
utilization of application server is very high. We have given 15 GB swap on
both the servers. Vmstat shows 5.5 Gb free memory and at the same time it is
showing only 3GB is free in swap. Why the system is using swap heavily even
though it has enough free memory . We have not done any system / kernel
level tuning and all kernel parameters are set as default. Moreover some
times the swap gets filled and the server stats showing an error message [ID
470503 kern.warning] WARNING: Sorry, no swap space to grow stack for pid 949
3 (mrbx4004). During this time also the free memory will be around 3 GB. How
can I allocate all RAM to users keeping minimum for system / kernel
processes or what is the solution? Any OS level tuning is required?

Please find the output of vmstat.

procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s6 sd in sy cs us sy
id
0 0 0 16349624 10103088 602 2470 170 0 0 0 0 3 3 0 17 4063 4935 4338 7 5
88
0 0 0 3263688 5515168 543 3494 0 0 0 0 0 1 1 0 15 5665 18727 13939 25 18
56
3 1 0 3275640 5504240 2874 12077 112 0 0 0 0 35 40 0 60 10108 13611 15901 38
22 40
1 0 0 3250360 5503144 850 6302 32 0 0 0 0 17 12 0 25 7054 13783 14293 29 14
56
1 1 0 3227824 5490688 2192 9893 3240 0 0 0 0 0 0 0 273 8131 10811 13356 25
14 60
0 0 0 3253232 5489216 1483 6026 6616 0 0 0 0 0 0 0 142 6930 8898 12407 25 12
63
2 0 0 3255704 5498016 1770 10330 624 8 8 0 0 1 1 0 73 10966 17265 18212 42
21 37
0 0 0 3272696 5498000 86 1126 8 0 0 0 0 0 0 0 9 4815 11947 11430 29 12
59
1 0 0 3307896 5511160 648 2919 32 0 0 0 0 0 0 0 27 6324 9547 11164 28 9
63
0 0 0 3322152 5518496 2665 9794 136 0 0 0 0 0 0 0 42 8914 13445 15063 32 16
52

Thanks you

Regards
Paulosekutty

_________________________________________________________________
They are beautiful. They are in danger.
http://server1.msn.co.in/Slideshow/BeautyoftheBeast/index.asp Our
four-legged friends.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:50 EDT