Current time: 08-10-2025, 02:26 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[ERLEDIGT] apache-workers
Author Message
multiuser Offline
Junior Member
*

Posts: 26
Joined: Oct 2008
Reputation: 0
Post: #3
RE: apache-workers
Code:
:/etc/apache2/mods-enabled# ls
actions.conf          authz_user.load  dir.load          proxy.load
actions.load          autoindex.conf   env.load          proxy_http.load
alias.conf            autoindex.load   fcgid_ispcp.conf  rewrite.load
alias.load            cgi.load         fcgid_ispcp.load  setenvif.conf
auth_basic.load       cgid.conf        mime.conf         setenvif.load
authn_file.load       cgid.load        mime.load         status.conf
authz_default.load    deflate.conf     negotiation.conf  status.load
authz_groupfile.load  deflate.load     negotiation.load  suexec.load
authz_host.load       dir.conf         proxy.conf

Code:
/etc/apache2/mods-available# cat fcgid_ispcp.conf

<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php5
  SocketPath /var/lib/apache2/fcgid/sock
  IdleTimeout 600
  IdleScanInterval 120
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 3
  ZombieScanInterval 3
  ProcessLifeTime 900
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 200
  DefaultMaxClassProcessCount 10
  DefaultMinClassProcessCount 1
  IPCConnectTimeout 900
  IPCCommTimeout 900
  MaxRequestsPerProcess 500
</IfModule>

Code:
:/etc/apache2/mods-available# cat fastcgi_ispcp.conf

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

        FastCgiConfig -minProcesses 1 \
                  -maxProcesses 400 \
                  -maxClassProcesses 5 \
                  -multiThreshold 80 \
                  -killInterval 60 \
                  -startDelay 5 \
                  -idle-timeout 300
                  # -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>
07-28-2010 02:50 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
[ERLEDIGT] apache-workers - multiuser - 07-27-2010, 11:12 PM
RE: apache-workers - Lucan - 07-28-2010, 01:05 AM
RE: apache-workers - multiuser - 07-28-2010 02:50 AM
RE: apache-workers - Lucan - 07-28-2010, 03:11 AM
RE: apache-workers - multiuser - 07-28-2010, 03:42 AM
RE: apache-workers - Lucan - 07-28-2010, 04:24 AM
RE: apache-workers - ZooL - 07-28-2010, 04:19 AM
RE: apache-workers - multiuser - 07-28-2010, 05:15 PM
RE: apache-workers - Lucan - 07-28-2010, 08:25 PM
RE: apache-workers - nemo - 07-28-2010, 09:16 PM
RE: apache-workers - multiuser - 07-29-2010, 12:24 AM
RE: apache-workers - Lucan - 07-29-2010, 12:26 AM
RE: apache-workers - multiuser - 07-29-2010, 01:50 AM
RE: apache-workers - ZooL - 07-29-2010, 12:48 AM
RE: apache-workers - ZooL - 07-29-2010, 02:07 AM
RE: apache-workers - multiuser - 07-29-2010, 06:34 AM
RE: apache-workers - Lucan - 07-29-2010, 06:44 AM
RE: apache-workers - gOOvER - 07-29-2010, 02:11 AM
RE: apache-workers - ZooL - 07-29-2010, 03:56 AM
RE: apache-workers - Lucan - 07-29-2010, 04:01 AM

Forum Jump:


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