Swap and Memory usage

Hello,

my server seem that is running out of memory, i see also that it swap alot, what can be the cause of a high swap?


Swap: 2048248k total, 1794292k used,



1034492 total memory
1009736 used memory
723156 active memory
195728 inactive memory
24756 free memory
14028 buffer memory
248552 swap cache
2048248 total swap
1785944 used swap
262304 free swap
10111720 non-nice user cpu ticks
1259451 nice user cpu ticks
2050161 system cpu ticks
48290519 idle cpu ticks
4609534 IO-wait cpu ticks
28566 IRQ cpu ticks
106503 softirq cpu ticks
159587922 pages paged in
197072507 pages paged out
****713 pages swapped in
1973009 pages swapped out
417760001 interrupts
256957854 CPU context switches
1127910611 boot time
1363627 forks


top - 10:49:31 up 3 days, 20:19, 1 user, load average: 0.79, 4.01, 6.77
Tasks: 299 total, 1 running, 285 sleeping, 6 stopped, 7 zombie
Cpu(s): 20.2% us, 0.5% sy, 0.0% ni, 70.4% id, 8.8% wa, 0.2% hi, 0.0% si
Mem: 1034492k total, 1005628k used, 28864k free, 17956k buffers
Swap: 2048248k total, 1782744k used, 265504k free, 239752k cached

 

 

 

 

Top