[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: apache svn server memory usage?

From: Sander Striker <striker_at_apache.org>
Date: 2003-07-01 01:00:02 CEST

> From: sussman@collab.net [mailto:sussman@collab.net]
> Sent: Monday, June 30, 2003 7:28 PM

> This is normal. 14-22M httpd isn't great, but it's much better than
> the hundreds of megs it used to be, back when we had real memory
> bugs. :-)
>
> The problem is the way apache's pools work; a single httpd process

Ahum... starting with 'The problem is' is not a good way to describe
pools ;)

> will "grow" to the size necessary to finish a request, but then even
> though the pool is "freed", it's not *really* freed. It goes back
> into a memory-reuse area.

Correct. It does a check whether it should free() that memory or keep
it around. The default is keeping everything around. Over time,
memory usage will stabilize and thus no more system calls in the form
of malloc()/free() are needed.

The MaxMemFree directive allows you to control the total amount of
memory somewhat. httpd 2.0.47 will (most probably) obey this directive
better than the current version does.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 1 01:00:49 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.