Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I recently upgraded my Media Temple server to dv4 and enabled FastCGI. I have this issue where the WordPress control panel on my sites goes slow. When I update or publish a post, sometimes it will hang for a little while and then give me a 500 error. I'm constantly finding these in my error logs:

[Mon Jul 30 03:32:00 2012] [warn] mod_fcgid: process 20466 graceful kill fail, sending SIGKILL
[Mon Jul 30 06:27:03 2012] [warn] mod_fcgid: process 22061 graceful kill fail, sending SIGKILL
[Mon Jul 30 09:47:57 2012] [warn] mod_fcgid: process 22232 graceful kill fail, sending SIGKILL
[Mon Jul 30 13:19:57 2012] [warn] mod_fcgid: process 22439 graceful kill fail, sending SIGKILL

I've tried configuring my FastCGI several times, none of which seem to resolve the issue. Here is my current configuration:

LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>

<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>

FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

#FcgidIdleTimeout 40
#FcgidProcessLifeTime 30

FcgidProcessLifeTime 3600
FcgidIdleTimeout 3600
FcgidMaxProcesses 8
FcgidMaxProcessesPerClass 3
FcgidIOTimeout 120
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10
FcgidMaxRequestsPerProcess 2000
FcgidMaxRequestLen 1000000000

</IfModule>

Another issue I've been running into recently is sometimes I cannot connect to SSH. If I leave it alone for a little while, it works again (so there were probably no available connections).

Server is with Media Temple and has 1 GB of RAM with CentOS, so it should not be experiencing issues with speed. None of the sites hosted have heavy traffic. Also, the site was working fine on Media Temple's dv 3.5 platform.

Thanks in advance for any tips or possible resolutions.

share|improve this question
    
looks like mysql problem, try to disable persistant connections in php.ini –  zb' Jul 31 '12 at 14:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.