Forum archive 2000-2006

Thomas R. Shemanske - mod_perl memory requirements

Thomas R. Shemanske - mod_perl memory requirements

by Arnold Pizer -
Number of replies: 0
inactiveTopicmod_perl memory requirements topic started 2/11/2003; 11:21:19 AM
last post 2/12/2003; 8:46:58 AM
userThomas R. Shemanske - mod_perl memory requirements  blueArrow
2/11/2003; 11:21:19 AM (reads: 1051, responses: 1)
We are in a position to buy a new server for WeBWorK. We serve 500 - 1000 students, and might try using the mod_perl implementation of WW. My limited understanding of this is that more memory (than the cgi version) is consumed as the apache processes are spawned.

What would be reasonable RAM requirements to allow such an implementation to function well? 1G, 2G? Any other issues?

Thanks in advance

Tom

<| Post or View Comments |>


userGavin LaRose - Re: mod_perl memory requirements  blueArrow
2/12/2003; 8:46:58 AM (reads: 1393, responses: 0)
Hi Tom

We're running our WeBWorK servers on Sun Solaris machines. In that environment each running httpd process for a non-mod_perl apache install takes about 8MB of memory. For a mod_perl httpd process they bulk up to between 10 and 16MB. On another system your numbers may vary, but it should be possible to get an estimate for the required memory by looking at (MaxClients)(hhtpdProcessMemory) + (other services' requirements) + (memory needed for the OS).

For further comparison, for my servers Solaris 8 requires about 170MB and the other services I have running need between 400MB and 500MB. So, as an example, to allow a maximum of 100 clients (httpd processes), between 2 and 3GB would be reasonable for us. I'd expect Linux to have a smaller memory footprint than Solaris, however.

I hope this is helpful
Gavin

<| Post or View Comments |>