The high utilization continued for over 2 hours. Around 5:10 or so I
restarted httpd and the memory went back to normal. It is obviously at the
root of the problem. However, I don't really know if there is some setting
that can determine the extent of cached information or something to that
affect. Again, there aren't many users connected at the time the problem
exists. It also doesn't fluxuate much during that time. At least I now
know what to examine in more detail.
I use gkrellm to monitor the server. It provides a mechanism for executing
a script. I set the script to send me a page. I get the page and move
things around to see the meters and the memory is still right up there at
about 75% of swap while physical pretty much stays around 80% all the time
(as expected). I have then run netstat, top, and ps aux to list the
processes (in order of execution). Nothing jumped out before.
Another thing that is irritating in the attempt to find this is that when
you use top it gives percent of memory used by each process (.2 .3 .2 .4
etc) There's no way this adds up to the 80% that physical memory is in use.
Larry.
-----Original Message-----
From: Bill Triplett [mailto:btt@nethouse.com]
Sent: Wednesday, February 25, 2004 4:04 PM
To: flalug@nks.net
Cc: Larry Brown
Subject: Re: [flalug] has anyone noted odd swap file activity on a
fairly regular schedule
Hi Larry,
By what mechanism are you paged when the memory utilization gets
excessive?
I'm thinking that if it is a script or something, you could have the
script dump stats to a file at the same time it pages you so that you
can view a snapshot of what's happening at that time.
Just a thought...
b
On Feb 25, 2004, at 3:23 PM, Larry Brown wrote:
> Hello all,
> I'm a newbie to the list but I've been around Linux for a while. I
> have
> one of my servers monitored for excessive cpu and memory usage. When
> they
> exceed limits it generates me an e-mail. Periodically I get paged for
> excessive memory utilization around 3pm and I hop onto the server and
> start
> looking around for a process that is active with a high amount of
> memory
> usage. I never find anything out of the ordinary. It is a web/mysql
> server
> running rh8. The server doesn't seem to be bogged down because of it,
> but
> I'm curious as to what is going on. I have 256mb physical and a 256mb
> swap.
> I have at most a dozen people on the site at any given time and I
> checked
> netstat and there couldn't have been more than 3 or 4 people on the
> machine.
>
> I also checked my cron entries looking for one that runs around 3 pm
> and
> there is none. Everything runs in the evening in the exception of
> some that
> run regularly all day long.
>
> TIA
>
> Larry
>
> PS. I will try to attend the next meeting. How late do you usually
> go?
> What is the attendance usually like?
>
>
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:11:02 EDT