LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2014, 03:17 AM   #1
madala03
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Rep: Reputation: Disabled
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
 
Old 01-28-2014, 04:18 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,505

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
looks like you use oracle. probably you need to add additional swap. do you have free space somewhere?
 
Old 01-28-2014, 04:36 AM   #3
madala03
LQ Newbie
 
Registered: Jan 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Pan

Hi Pan,

Thanks for your reply i checked the space only i got 500M avaliabe on this box.
 
Old 01-28-2014, 07:01 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,505

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
I suggest you to extend your memory if possible and add new drive. Also try to check why it is used.
 
Old 01-28-2014, 07:44 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
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.
 
Old 01-28-2014, 08:14 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What if tmpfs space is full? Written to swap space? pstein Linux - Newbie 8 11-18-2012 07:51 AM
[SOLVED] what the difference swap space and swap file dundu Linux - Newbie 4 07-29-2012 01:03 PM
Getting Notification when disk space cross a threshold value raikar Linux - Mobile 4 06-30-2009 06:54 AM
how much swap space is needed; how to increase swap space? johnpaulodonnell Linux - Newbie 5 03-23-2007 04:20 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM


All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration