Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 1999 17:01:03 +0900
From:      chas <panda@skinnyhippo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: High Inactive memory levels - cause for concern ?
Message-ID:  <3.0.5.32.19990826170103.009bab00@mail.skinnyhippo.com>
In-Reply-To: <3.0.5.32.19990826115729.009454d0@mail.skinnyhippo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Just to follow up - at peak load, the figure for Inactive
memory is even worse :

ast pid: 98274;  load averages:  0.84,  0.76,  0.67  
142 processes: 1 running, 135 sleeping, 6 zombie
CPU states: 48.2% user,  0.0% nice, 15.6% system,  0.0% interrupt, 36.2% idle
Mem: 31M Active, 307M Inact, 23M Wired, 20M Cache, 8345K Buf, 122M Free
Swap: 700M Total, 700M Free


Am I going to get to the stage where Free memory is zero
and all of it is 'inactive' ? If so, what proactive measures
would you advise ?

Thank you very much,

chas




>Good morning,
>
>'top' on my FreeBSD box shows the following :
>
>last pid: 36826;  load averages:  0.15,  0.31,  0.33      
>131 processes: 1 running, 130 sleeping
>CPU states:  0.4% user,  0.0% nice,  0.0% system,  0.4% interrupt, 99.2% idle
>Mem: 28M Active, 218M Inact, 22M Wired, 20M Cache, 8348K Buf, 214M Free
>Swap: 700M Total, 700M Free
>
>
>What caught my attention was the high value for "Inactive" memory.
>I've scoured the archive and most people seem to have a low "Inact"
>value, and few people have it more than the "Active" value. 
>
>I found a very good post by David Gree, which stated :
>
>"The numbers represent the number of VM pages on various internal page
>queues that the kernel manages. The "active" queue is a queue of pages
>that the kernel, for a variety of reasons, considers "active". The "inactive"
>queue is similarly named, but is also used as a way of controlling the
>amount of dirty pages in the system (pages are moved to the inactive queue
>prior to being cleaned by the pagedaemon)."
>
>If I understand this correct and applying to my 'top' output (above), 
>the Inact level means that I have 218 MB of RAM that has been used and 
>is about to be released again. How long should it take for this to 
>happen ? My Inact level has been hovering about 220 MB continuously.
>
>This box is just running a webserver and MySQL, averge 1.5 million hits/day
>with about 80% of pages being dynamically generated (straight python CGI).
>
>Is it anything to worry about ? 
>
>chas
>
>
>
>
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990826170103.009bab00>