Current time: 11-23-2024, 06:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
FastCGI / Error 500 --> mod_fcgid
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #33
RE: FastCGI / Error 500 --> mod_fcgid
Wegen der Erhöhung der FCGI_CHILDREN, kann das gleich in der
/etc/apache2/mods-enabled/fastcgi_ispcp.conf
festgelegt werden ? Oder muss ich das für jede Domain selber in der Config erhöhen ? Sonst würde ich die FCGI_CHILDREN aus der php5-starter rausnehmen und könnte dann alle Domains direkt mit der fastcgi_ispcp.conf steuern?!

Momentan sieht die fastcgi_ispcp.conf so aus, und wir haben da keine PHP_FCGI_CHILDREN :
Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2
        FastCgiConfig -idle-timeout 300 -killInterval 60 -multiThreshold 80 -startDelay 5 -maxClassProcesses 10 -maxProcesses 400 -minProcesses 10 -listen-queue-depth 400 -pass-header HTTP_AUTHORIZATION
        #FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100
                      #-killInterval 300 \
                      #-autoUpdate \
                      #-idle-timeout 240 \
                      #-pass-header HTTP_AUTHORIZATION

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

        #
        # 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>
Und die php5-fcgi-starter sieht so aus:
Code:
#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/domain.tld/php5/"

export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi
Was wäre denn ein guter wert ?
Von 2 auf 20 ? Oder wäre das zu viel ?

Greez BeNe
11-26-2007 08:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
FastCGI / Error 500 --> mod_fcgid - BeNe - 11-23-2007, 03:19 AM
RE: FastCGI / Error 500 - dr4g0nl0rd - 11-23-2007, 07:09 AM
RE: FastCGI / Error 500 - BeNe - 11-23-2007, 07:15 AM
RE: FastCGI / Error 500 - ZooL - 11-23-2007, 07:47 AM
RE: FastCGI / Error 500 - dr4g0nl0rd - 11-23-2007, 10:11 AM
RE: FastCGI / Error 500 - Snatch - 11-23-2007, 05:03 PM
RE: FastCGI / Error 500 - BeNe - 11-23-2007, 05:09 PM
RE: FastCGI / Error 500 - ZooL - 11-23-2007, 08:10 PM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 05:33 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 06:34 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 06:37 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 06:40 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 06:44 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 06:53 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 07:00 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 07:03 AM
RE: FastCGI / Error 500 - monotek - 11-24-2007, 07:08 AM
RE: FastCGI / Error 500 - BeNe - 11-24-2007, 07:32 AM
RE: FastCGI / Error 500 --> mod_fcgid - BeNe - 11-26-2007 08:23 PM

Forum Jump:


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