My server suddenly started reaching RAM limits, especially when a teacher 'turns editing on'. Images are from Cpanel
Dedicated server. 500MB allocated to Web services.
PHP version 5.4.18
As you can see from the graph below, (Added as attachment too) this very suddenly started happening. I don't recall any action on my part to cuase this. The memory used to be enough as you can see from the graphs and suddenly Moodle went mad!
Other symptoms are that my webpages don't load fully. Lots of text instead of formatted pages. Blocks instead of icons. Server errors 500.
The following are error logs:
[Mon Sep 09 08:54:18 2013] [error] [client yyy.xxx.221.xxx] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/mysite/public_html/2013/moodle/theme/image.php, referer: http://www.mysite/2013/moodle/course/index.php
[Mon Sep 09 08:54:17 2013] [error] [client yyy.xxx.221.xxx] File does not exist: /home/mySite/public_html/500.shtml, referer: http://mysite/2013/moodle/course/index.php
Any help will be appreciated.