Hi Rex, Jan told all in detail i guess. I was about to start typing for you. Anyway, just an addition to that, try googling about Pre-fork and worker-MPM mode. In the second, you can limit the processes by configuring more threads for each process (threads serve requests here). But there might be an increase in CPU %.
Prasanna RamOn Mon, May 4, 2009 at 9:00 PM, Jan G.B. <email@example.com> wrote:
2009/5/4 Rex C. Eastbourne <firstname.lastname@example.org>:
> 2009/5/4 Matus UHLAR - fantomas <email@example.com>:Hi Rex,
>> how much of RAM do you have on that machine?
> 512 MB. Not a lot, I know, but I had thought it would be sufficient to
> run a website with low traffic like mine.
>> Do you use ubuntu's apache package(s)? Don't you have too much of useless
>> modules loaded?
> Through apt-get I have installed Apache2 and mod_python. I don't have
> many useless modules loaded; baseline memory usage is only around 60
> Any ideas? Is it normal for there to be dozens of Apache processes like this?
it's quite normal: as more visitors come along, more apache processess
will be spawned. You can set up how much processes are reserved, how
many are allowed and so on. Just have a look in your server config.
One apache process will consume as much RAM as your most complex page
will require to render. So if you serve different, static and simple
HTML files 10000 and one php script using 200MB of ram, one process
will use 200MB at least.
You should tweak your config by calculating how many processes your
server will handle with the installed application on it.
You'll find a lot of pages describing the optimization process and the
needed config-options. Try Google or look into the apache docs! All
options and the stuff I was writing is well described there.
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: firstname.lastname@example.org
" from the digest: email@example.com
For additional commands, e-mail: firstname.lastname@example.org