Magento Apache Config & Memory Issues

Posted by cheshirepine on Server Fault See other posts from Server Fault or by cheshirepine
Published on 2012-10-10T09:24:05Z Indexed on 2013/10/18 3:58 UTC
Read the original article Hit count: 511

Filed under:
|
|

I have a Magento installation on a VPS that is giving me a headache.

This particular VPS has a reasonable spec - 2gb Memory and 50gb storage. It runs a single domain, with a single Magento install - and nothing else.

About 5 months ago we started having issues. Every so often (about once every 2 or 3 weeks) the VPS would crash - all processes stopped and the only way to restart the container is via Virtuozzo.

Now, however its 2 or 3 times a week. My VPS hosts confirm I am breaching the 2gb memory limit, at which point all VPS processes are killed to stop it bringing the entire node down.

I have not made any config changes to it at all - I was running New Relic on it for a short while, but have removed that in case it was contributing to the issues. I can see nothing in the logs which indicates an issue and we have no CRON jobs running at the time the crashes happen.

The site generates steady, but not huge amounts of traffic (averaging usually less than 100 visits per day)

Is there anything in particular I should have done to the Apache or PHP configs to help? Im not a massivley experienced Apache admin, but know more than enough to solve most problems...

Failing that, any other ideas that might help? Can't afford for this site to be down this much.

© Server Fault or respective owner

Related posts about php

Related posts about apache2