[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 08:52:45 CEST

> From: Chris Hecker [mailto:checker@d6.com]
> Sent: Tuesday, July 01, 2003 6:44 AM

Hi Chris,

> The bummer is it's being kept around for all the forked processes. Would
> it be better to use one of the other mpms (threaded?) so they share some of
> this memory? I know nothing about apache, of course. The docs say some
> modules aren't thread-safe...is mod_dav + svn?

If you are on a platform with a decent thread library the worker mpm
is a good bet. mod_dav + svn is thread safe.
 
>> 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.
>
> What will be good settings here?

http://httpd.apache.org/docs-2.0/mod/mpm_common.html#maxmemfree

It kind of depends on how much memory you have, what your usage pattern
looks like etc. Try switching to the worker mpm first and then decide
how much memory you can live with being (permanently) taken up by httpd.
Devide that number by the average number of httpd processes (with worker
default config and no heavy load: 2).

HTH,

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 08:53:37 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.