RE: AW: Apache memory hog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom - Was that to me?

Assuming so:  yes, two issues.  One - whatever subprocess (99% sure
subversion related) not releasing memory back to apache, and Two -
Apache not releasing memory back to the OS (as far as Top is showing
me).

Adrian

-----Original Message-----
From: Tom Evans [mailto:tevans.uk@xxxxxxxxxxxxxx] 
Sent: 03 April 2009 15:46
To: users@xxxxxxxxxxxxxxxx
Subject: Re: AW:  Apache memory hog

On Fri, 2009-04-03 at 16:21 +0200, Alessandro Fantuzzi wrote:
> This thread confirms that apache by default doesnt free memory when
> stopped. 
> http://marc.info/?l=apache-modules&m=108080705806751&w=2
> 
> We have a memory leak problem too, still we havent solved.
> 
> We havent svn onthe server but should be related to php and mysql
> connections.
> 
> 

That quote is not of consequence here - he is talking about releasing an
apr_pool back to apache, not stopping the server and restarting it,
which releases all the memory back to the OS.

Is this two issues, is apache leaking memory, causing you to restart the
server, which releases the memory back to the OS. The OS is under no
requirement to turn that into 'Free' memory, it is more than acceptable
to keep it as 'Inactive' memory, and then reallocate that to 'Free'. I
don't use RHEL, but that is certainly how FreeBSD manages memory.


Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux