LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Swap space used is above threshold of 90 (https://www.linuxquestions.org/questions/linux-newbie-8/swap-space-used-is-above-threshold-of-90-a-4175492820/)

madala03 01-28-2014 02:17 AM

Swap space used is above threshold of 90
 
Hi all,

i am facing an issues in linux box which is Swap space used is above threshold of 90
[oracle@gbaheovl21 scripts]$ free
total used free shared buffers cached
Mem: 8388608 8354400 34208 0 32748 4354904
-/+ buffers/cache: 3966748 4421860
Swap: 6257992 5816940 441052
scripts]$ sar -r

07:00:01 kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad
07:10:01 15868 8372740 99.81 16348 4356644 479720 5778272 92.33 767516
07:20:01 93232 8295376 98.89 17624 4304864 433200 5824792 93.08 773240
07:30:01 29092 8359516 99.65 22664 4328688 442496 5815496 92.93 800512
07:40:01 39700 8348908 99.53 28584 4348424 441392 5816600 92.95 768592
Average: 57576 8331032 99.31 56029 4292652 349858 5908134 94.41 775742

Is their any fix to this issue with out reboot ? please any one help me on this ?

Thanks in adavance

Venkat

pan64 01-28-2014 03:18 AM

looks like you use oracle. probably you need to add additional swap. do you have free space somewhere?

madala03 01-28-2014 03:36 AM

Hi Pan
 
Hi Pan,

Thanks for your reply i checked the space only i got 500M avaliabe on this box.

pan64 01-28-2014 06:01 AM

I suggest you to extend your memory if possible and add new drive. Also try to check why it is used.

jpollard 01-28-2014 06:44 AM

What happens if you restart the Oracle database?

If not oracle, you might start checking the sizes of various processes... It looks like you have a memory leak.

johnsfine 01-28-2014 07:14 AM

You should find out which processes might be responsible. Finding out which really are responsible is harder but may be required after you find out which might be:

I would use the top program. After starting it, press capital O to select the sort field, then another O to pick VIRT as the sort field, then enter.

What processes have over 100m of VIRT?

A large VIRT value does not prove the process is using a lot of swap and/or ram. There are many ways a process may have large VIRT but very small combined footprint in ram+swap. But a small VIRT does prove the process has small ram+swap. So further investigation should focus only on processes with large VIRT.


All times are GMT -5. The time now is 08:25 AM.