Resource Limit Exceeded
My blog randomly throws the following error upon visiting.
‘Resource Limit Exceeded’
The meaning is obvious to me and upon speaking with my hosting provider I was instructed to optimize my WordPress theme.
I can hire a developer to do it for me however wanted to check with the WordPress community first.
Given below are replies by the hosting provider to support tickets I opened.
I have checked the domain http://virtualpreacher.org/ and found that it is now loading. I checked tyhe logs and found the following error messages:
[Wed Jan 30 08:26:10 2013] [warn] [client 18.104.22.168] mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php-fcgi
[Wed Jan 30 08:27:14 2013] [warn] [client 22.214.171.124] mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php-fcgi
[Wed Jan 30 08:27:31 2013] [warn] [client 126.96.36.199] mod_fcgid: can’t apply process slot for /usr/local/cpanel/cgi-sys/php-fcgi
The issue that you are facing is mainly due to the number of fcgi processes that your site seems to be running simultaneously.
We allow 3 child process and for each child process, 256 worker processes. Once that limit is breached, you see that kind of error. However, those errors are auto-fixed once the number of processes reduce.
However I would request you to contact web-developer to optimize the website code.
On checking, I could see that the entry processes were full. There were some zombie processes under the user. I have now killed the zombie processes.
Also I could see that many database queries were killed due to higher execution time. Please note that the query timeout set on our servers is 15 secs and all queries which take more time will be killed.
Jan 31 00:59:22 cp-3 mkill: killed: thread_id: 20205366 user: virtudwt_wrdp1 host: localhost db: virtudwt_wrdp1 cmd: Sleep time: 20 query:
We recommend you to contact your web-developer and get your website pages and database queries optimized. You will have to check the code with your developer to find the exact culprit.
The parent process for the zombie process was the apache process which was processing the connections. I have now killed the parent process.
Do you see anything in these replies which I should consider before hiring a developer???
- The topic ‘Resource Limit Exceeded’ is closed to new replies.