Thanks for the response. I am awaiting response from my developer to provide details of PHP and i will post the details as soon as i receive them.
I couldn't find apache2ctl -M command, its apachectl (without the 2). First few lines of the output..
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module (shared)
auth_digest_module (shared)
authn_file_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authz_host_module (shared)
authz_user_module (shared)
obs wrote:
If apache isn't handling PHP requests then it's memory usage will be considerably lower all it will be doing is handling static files (and in this case I'd switch to mpm-worker over prefork since it's threaded and will use less memory).
Maybe if you told us your setup then we'd be able to give better advise.
What apache MPM are you running?
(run apache2ctl -M | grep mpm to find out)
How are you running php? FPM/Fastcgi/Apache2/CGI(hopefully not)