Current time: 12-24-2024, 03:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with FastCgi idle-timeout
Author Message
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #4
MyBB RE: Problem with FastCgi idle-timeout
I have exactly the same errors in my logs.
But your solution doesn't work:

# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)... waiting ....Syntax error on line 30 of /etc/apache2/mods-enabled/fastcgi_ispcp.conf:
Invalid command '-idle-timeout', perhaps misspelled or defined by a module not included in the server configuration

I changed:

Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2

        FastCgiConfig -minProcesses 1 \
                  -maxProcesses 400 \
                  -maxClassProcesses 100 \
                  -multiThreshold 80 \
                  -killInterval 60 \
                  -startDelay 5
                  # -singleThreshold 100 \
                  # -autoUpdate \
                  # -pass-header HTTP_AUTHORIZATION

        FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300

        #
        # PHP5 SUPPORT
        #

        AddHandler php-fastcgi .php .php5

        <Location /php5/php5-fcgi-starter>
                SetHandler fastcgi-script
                Options +ExecCGI
        </Location>

        Action php-fastcgi /php5/php5-fcgi-starter
        AddType application/x-httpd-php .php .php5
</IfModule>

To this:

Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2

        FastCgiConfig -minProcesses 1 \
                  -maxProcesses 400 \
                  -maxClassProcesses 100 \
                  -multiThreshold 80 \
                  -killInterval 60 \
                  -startDelay 5
                  -idle-timeout 60
                  # -singleThreshold 100 \
                  # -autoUpdate \
                  # -pass-header HTTP_AUTHORIZATION

        FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300

        #
        # PHP5 SUPPORT
        #

        AddHandler php-fastcgi .php .php5

        <Location /php5/php5-fcgi-starter>
                SetHandler fastcgi-script
                Options +ExecCGI
        </Location>

        Action php-fastcgi /php5/php5-fcgi-starter
        AddType application/x-httpd-php .php .php5
</IfModule>

In /etc/apache2/mods-available/fastcgi_ispcp.conf
(This post was last modified: 10-06-2008 08:05 AM by prale.)
10-06-2008 08:04 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with FastCgi idle-timeout - papasj - 07-04-2008, 05:39 PM
RE: Problem with FastCgi idle-timeout - prale - 10-06-2008 08:04 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)