0

I recently rebuilt Apache to include mod_suPHP (previously using DSO). But after switching to suPHP, Wordpress sites hosted on my VPS would return something like,

Fatal error: Out of memory (allocated 2883584) (tried to allocate 77824 bytes) in /home/mine/public_html/wp-includes/class-simplepie.php on line 3522

However, if I refresh the page anywhere from once to about half a dozen times, the site loads up fine; and page no longer returns the error (in some cases I will need to go directly to the include to refresh). I thought it was a cache issue but I've cleared my cache and used machines on other networks to verify.

I could go to each WP installation and effectively get rid of the error, but new copies of Wordpress run into the same issue too. I've increased the memory limit to 256M with no luck. System wide, I'm only using roughly 80-100mb out of the 756 I have allocated. I'd appreciate it if anyone has any ideas on what can be done; would rather not re-provision the VPS.

4
  • "I've increased the memory limit to 256M" Where? May 17, 2011 at 20:30
  • /usr/local/lib/ May 17, 2011 at 21:11
  • Hmm, I'm not following. Typically you increase memory limits in php.conf and /etc/security/limits.conf. What did you change? May 17, 2011 at 22:13
  • Sorry, the php.ini usr/local/lib/. The limits.conf file appears to have nothing set. May 18, 2011 at 3:13

1 Answer 1

0

Commenting out 'RLimitMEM' in the Apache configuration file as suggested in this post appears to have resolved the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .