Editing/Adding FastCGI directives?

Discussion in 'General' started by crypted, Oct 31, 2010.

  1. crypted

    crypted Member

    I found a web post that may resolve a lot of issues reported with FCGI on ISPC3 by various users including me.

    http://www.moe.co.uk/2010/04/12/mod...e-failed-and-premature-end-of-script-headers/

    The solution there is to add the following to a vhost.conf or httpd.conf:
    Code:
    <IfModule mod_fcgid.c>
    # Sane place to put sockets
    SocketPath /var/lib/httpd/fcgid/sock
    IdleTimeout 3600
    ProcessLifeTime 7200
    MaxProcessCount 1000
    DefaultMinClassProcessCount 3
    DefaultMaxClassProcessCount 100
    IPCConnectTimeout 8
    IPCCommTimeout 600
    BusyTimeout 300
    </IfModule>
    However, I am not sure how we should go about adding the directives mentioned. In the ISPC3 Panel, we can control "MaxChildren" and "Max Requests."

    What about the rest?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can edit the vhost master template, it is in /usr/local/ispconfig/server/conf/.
    But the settings you posted above are basically the same the ones that ispconfig uses already.
     
  3. crypted

    crypted Member

    Well crap, that destroys my possible fix!!!
     
  4. jtheed

    jtheed Member

    Maybe not completely, the default one does not have the path specified and the IPCCommTimeout 600 is set to 360, for what's it's worth.
     

Share This Page