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

I'm getting a lot of those warnings everyday. Sometimes I get 500 Error.

    [Wed Jul 24 11:20:21 2013] [warn] mod_fcgid: process 31605 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:20:36 2013] [warn] mod_fcgid: process 31613 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:20:48 2013] [warn] mod_fcgid: process 31611 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:20:48 2013] [warn] mod_fcgid: process 31617 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:20:53 2013] [warn] mod_fcgid: process 31643 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:22:16 2013] [warn] mod_fcgid: process 31672 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:22:21 2013] [warn] mod_fcgid: process 31686 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:22:27 2013] [warn] mod_fcgid: process 31694 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:22:39 2013] [warn] mod_fcgid: process 31688 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:23:09 2013] [warn] mod_fcgid: process 31715 graceful kill fail, sending SIGKILL
    [Wed Jul 24 11:23:09 2013] [warn] mod_fcgid: process 31714 graceful kill fail, sending SIGKILL

In the end of /etc/httpd/conf/httpd.conf is:

GracefulShutDownTimeout 3
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Below is my fcgid.conf:

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
    FcgidMaxProcesses 20
    FcgidMaxProcessesPerClass 8
    FcgidMinProcessesPerClass 0
    FcgidConnectTimeout 30
    FcgidIOTimeout 45
    FcgidInitialEnv RAILS_ENV production
    FcgidIdleScanInterval 10

</IfModule>

Do I need to add FcgidIOTimeout 300 or any other value? Or change existing one?

I have VPS, linux CentOS 6

share|improve this question
add comment

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.