httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Marsh" <Adrian.Ma...@ubiquisys.com>
Subject RE: AW: [users@httpd] Apache memory hog
Date Fri, 03 Apr 2009 15:01:18 GMT
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@googlemail.com] 
Sent: 03 April 2009 15:46
To: users@httpd.apache.org
Subject: Re: AW: [users@httpd] 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message