Help needed!! My site has been crashing with 25 users logged in.
I have been messing with settings and tweaking apache like crazy but I always come back to the fact that each Apache2 process is using between 50-100MB ram. This seams very high (everywhere I read says that each process should be using up to 20MB ram). I have tweaked to the point and now added more RAM which has stopped crashing for now but can't help wondering why apache2 is using so much ram in the first place.
Specs:
Moodle 2.0 (latest build)
Debian Squeeze 2.6.32-5 running on Hyper-V so have same issue when it is on VMWare and using a different kernel. Currently on 64 bit but started on 32 bit. (Migrated Moodle from one server to new current build.)
PHP 5.3.8-2
Currently running Apache 2.21 but same issue with Apache 2.18 - using Prefork. Have tweaked settings to current state of StartServers=5,MinSpareServers=2,MaxSpareServers=5,MaxClients=30, MaxRequests=100 and installed APC for optimization.
All my tweaks have helped but nothing has dropped the RAM usage per process. Only constant is the Moodle site - just not sure where to look or am I wrong and is this a normal amount of RAM per process??
Any help would be greatly appreciated!
Emma