Website memory problem
- by Toktik
I have CentOS 5 installed on my server. I'm in VPS server.
I have site where I have constant online ~150. First look on site looks OK. But when I go through links, sometimes I receive Out of memory PHP error.
It looks like this
Fatal error: Out of memory (allocated 36962304) (tried to allocate 7680 bytes) in /home/host/public_html/sites/all/modules/cck/modules/fieldgroup/fieldgroup.install on line 100
And always, not allocated memory is very small.
In average I have 30% CPU load, 25% RAM load. So I think here is not a physical memory problem.
My PHP memory limit was set to 1500MB.
My apache error log looks like this
[Thu Sep 30 17:48:59 2010] [error] [client 91.204.190.5] Out of memory, referer: http://www.host.com/17402
[Thu Sep 30 17:48:59 2010] [error] [client 91.204.190.5] Premature end of script headers: index.php, referer: http://www.host.com/17402
[Thu Sep 30 17:48:59 2010] [error] [client 91.204.190.5] Out of memory, referer: http://www.host.com/17402
[Thu Sep 30 17:48:59 2010] [error] [client 91.204.190.5] Premature end of script headers: index.php, referer: http://www.host.com/17402
[Thu Sep 30 17:49:00 2010] [error] [client 91.204.190.5] File does not exist: /home/host/public_html/favicon.ico
Past I have not met with this on my server and the problem appeared itself.
Besides this I'm receiving some server errors on mail.
cpsrvd failed @ Fri Sep 24 16:45:20 2010. A restart was attempted automagically.
Service Check Method: [tcp connect]
Failure Reason: Unable to connect to port 2086
Same for tailwatchd.
Support tried, and can't help me...