LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-03-2011, 04:43 AM   #16
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301

I've never had that happen because of cached memory, but then I don't run any servers or apache, so it's possible.
 
Old 10-04-2011, 08:24 AM   #17
zer0patches
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
I not normally a fan of resurrecting dead threads, but you're destroying potential evidence doing that. Try echo-ing "1" and see if it has the same effect.
What is you swappiness value ?.
It's currently set to 60, the default. I have read I can use a more conservative value since I have lots of ram. Typically 4-7gb free for whatever that's usually used for caching. Unless there was a runaway process eating memory it should never run out.

free -m always shows 4-7gb free so I don't think that is the case.

The machine does typically swap about around 100k, which I would think is negligible to performance.

echo 1 has the same effect.

It just seems to me that mem requests are not freeing memory as intended. I don't know how to figure out if this is an application issue or a system issue.

Last edited by zer0patches; 10-04-2011 at 08:32 AM.
 
Old 10-04-2011, 06:14 PM   #18
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,137

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally Posted by zer0patches View Post
The machine does typically swap about around 100k, which I would think is negligible to performance.
Hmmmm - depends what's swapping. I'm of a like mind that you shouldn't be swapping at all with that amount of memory. I'd be looking at 30 as a max setting - mainframes we generally recommend "0" (yes, zero). This is only a recommendation value, not a per-centage or anything. You really want to bias against (any) swapout activity.
Quote:
echo 1 has the same effect.
Good - this was just to ensure pagecache was really the issue, not SLAB/SLUB.
 
Old 10-06-2011, 12:44 PM   #19
zer0patches
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Hmmmm - depends what's swapping. I'm of a like mind that you shouldn't be swapping at all with that amount of memory. I'd be looking at 30 as a max setting - mainframes we generally recommend "0" (yes, zero). This is only a recommendation value, not a per-centage or anything. You really want to bias against (any) swapout activity.Good - this was just to ensure pagecache was really the issue, not SLAB/SLUB.
I'm probably going to adjust swappiness to 0 and see what happens. See if I can get swap usage down to 0, we have more ram than we need and should never have an issue running out of actual free mem.

Might give me an idea if swapping is the problem, I suppose if it's swapping lots of really tiny files it could come down to hard drive performance being the issue with seek and r/w times. It is a standard sata 1g 7200 rpm i'm sure.
 
  


Reply

Tags
ssh, top



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
4017/4051 MB RAM in use (3593 cached). Any ideas? Illarane Linux - Server 7 05-15-2007 07:57 AM
Which files are cached? arsham Linux - General 1 05-09-2007 08:53 AM
How to prevent a particular domain from being cached moir Linux - Networking 2 11-04-2006 10:53 PM
using RAM not L2-cached Serena *BSD 0 05-28-2006 08:15 PM
How to clear cached commands Kedelfor Linux - Newbie 1 01-20-2004 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 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
Open Source Consulting | Domain Registration