big problem with config server

Discussion in 'Installation/Configuration' started by 007007, Jul 17, 2010.

  1. 007007

    007007 New Member

    I just moved a big forum with a shared hosting to a dedicated server, and the page loading slower than before .... i use fast-cgi option, and in the error_log i have this erros :

    Code:
    [Sat Jul 17 17:13:22 2010] [error] [client 196.206.217.222] client denied by server configuration: /var/www/dimadimaraja.info/web/index.php
    [Sat Jul 17 17:13:23 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 17:13:28 2010] [error] [client 196.206.217.222] client denied by server configuration: /var/www/dimadimaraja.info/web/index.php
    [Sat Jul 17 17:13:34 2010] [error] [client 196.206.217.222] client denied by server configuration: /var/www/dimadimaraja.info/web/index.php
    [Sat Jul 17 17:13:40 2010] [error] [client 196.206.217.222] client denied by server configuration: /var/www/dimadimaraja.info/web/index.php
    [Sat Jul 17 17:13:44 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 17:06:56 2010] [error] [client 93.3.20.199] client denied by server configuration: /var/www/dimadimaraja.info/web/forum/index.php
    [Sat Jul 17 17:06:56 2010] [error] [client 41.251.23.10] client denied by server configuration: /var/www/dimadimaraja.info/web/forum/index.php
    [Sat Jul 17 16:49:30 2010] [warn] mod_fcgid: can't apply process slot for /var/www/dimadimaraja.info/web/forum/index.php
    [Sat Jul 17 16:49:33 2010] [warn] mod_fcgid: can't apply process slot for /var/www/dimadimaraja.info/web/index.php
    [Sat Jul 17 16:49:33 2010] [warn] mod_fcgid: can't apply process slot for /var/www/dimadimaraja.info/web/index.php
    [Sat Jul 17 16:49:36 2010] [warn] mod_fcgid: can't apply process slot for /var/www/dimadimaraja.info/web/forum/index.php
    [Sat Jul 17 16:49:39 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 16:49:39 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 16:49:43 2010] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 16:49:23 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
    [Sat Jul 17 16:49:24 2010] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 16:49:23 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
    [Sat Jul 17 16:49:24 2010] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 16:49:23 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
    [Sat Jul 17 16:49:24 2010] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function
    [Sat Jul 17 16:49:23 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
    [Sat Jul 17 16:49:24 2010] [warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request function
    any idea please ? a problem with fast-cgi ?

    my board : http://www.dimadimaraja.info/forum/index.php
     
    Last edited: Jul 17, 2010
  2. gerr1t

    gerr1t New Member

    Have u tried mod_php? might be a decent temp workaround.
     
  3. 007007

    007007 New Member

    mod_php is suitable for small sites, there's no solution for fast-cgi?

    after 30min running the server is down :eek::eek:

    site config :

    [​IMG]

    my phpinfo : http://www.dimadimaraja.info/pret.php
    server status : http://www.dimadimaraja.info/status.php

    my /etc/apache2/sites-available/dimadimaraja.info.vhost

    Code:
    <Directory /var/www/dimadimaraja.info>
        AllowOverride None
        Order Deny,Allow
        Deny from all
    </Directory>
    
    <VirtualHost *:80>
          DocumentRoot /var/www/dimadimaraja.info/web
      
        ServerName dimadimaraja.info
        ServerAlias *.dimadimaraja.info 
        ServerAlias site.dimadimaraja.info
        ServerAdmin [email protected]
    
        ErrorLog /var/log/ispconfig/httpd/dimadimaraja.info/error.log
    	
        <Directory /var/www/dimadimaraja.info/web>
            Options FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
            
            # ssi enabled
            AddType text/html .shtml
            AddOutputFilter INCLUDES .shtml
            Options +Includes
        </Directory>
        <Directory /var/www/clients/client3/web5/web>
            Options FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
            
            # ssi enabled
            AddType text/html .shtml
            AddOutputFilter INCLUDES .shtml
            Options +Includes
        </Directory>
    
        # cgi enabled
    	<Directory /var/www/clients/client3/web5/cgi-bin>
          Order allow,deny
          Allow from all
        </Directory>
        ScriptAlias  /cgi-bin/ /var/www/clients/client3/web5/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # suexec enabled
        SuexecUserGroup web5 client3
        # Clear PHP settings of this website
        <FilesMatch "\.ph(p3?|tml)$">
            SetHandler None
        </FilesMatch>
        # php as fast-cgi enabled
        <IfModule mod_fcgid.c>
          # SocketPath /tmp/fcgid_sock/
          IdleTimeout 3600
          ProcessLifeTime 7200
          # MaxProcessCount 1000
          DefaultMinClassProcessCount 3
          DefaultMaxClassProcessCount 100
          IPCConnectTimeout 8
          IPCCommTimeout 360
          BusyTimeout 300
        </IfModule>
        <Directory /var/www/dimadimaraja.info/web>
            AddHandler fcgid-script .php .php3 .php4 .php5
            FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
            Options +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    	<Directory /var/www/clients/client3/web5/web>
            AddHandler fcgid-script .php .php3 .php4 .php5
            FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
            Options +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    
        # add support for apache mpm_itk
        <IfModule mpm_itk_module>
          AssignUserId web5 client3
        </IfModule>
    
    
    </VirtualHost>
    
    
    
    
    (I noticed that these errors / slowdown appear only when it s too much people on the forum => 300 members online or more ...)
     
    Last edited: Jul 19, 2010
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /var/www/php-fcgi-scripts/web5/.php-fcgi-starter? You might have to play around with the settings there.
     
  5. 007007

    007007 New Member

    here my file

    Code:
    #!/bin/sh
    PHPRC="/etc/php5/cgi/"
    export PHPRC
    PHP_DOCUMENT_ROOT="/var/www/clients/client3/web5"
    export PHP_DOCUMENT_ROOT
    # The variable PHP_FCGI_CHILDREN is onyl useful for lighty or nginx as apache 
    # mod_fcgi will control the number of childs themself and never use the additional processes.
    # PHP_FCGI_CHILDREN=8
    # export PHP_FCGI_CHILDREN
    PHP_FCGI_MAX_REQUESTS=5000
    export PHP_FCGI_MAX_REQUESTS
    exec /usr/bin/php-cgi \
     $1
    what do I do please ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    mod_fcgi is controlled by these parameters in the vhost file:

    IdleTimeout 3600
    ProcessLifeTime 7200
    # MaxProcessCount 1000
    DefaultMinClassProcessCount 3
    DefaultMaxClassProcessCount 100
    IPCConnectTimeout 8
    IPCCommTimeout 360
    BusyTimeout 300

    you might have to adjust them to match your installation if you have very high loads. there are a lot of google threads about tuning these parameters if you serach for the error message. e.g.

    http://www.moe.co.uk/2010/04/12/mod...e-failed-and-premature-end-of-script-headers/
    http://gallery.menalto.com/node/82337
     
  7. 007007

    007007 New Member

    Hi,

    values that the author has proposed is that which is by default !!

    he mentioned 2 files vhost.conf AND vhost_ssl.conf : where are they? but as I said these are the default values ...
     
    Last edited: Jul 19, 2010
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Both links work, just click on them. Regarding the file names, the post is not about ispconfig, thats why the named of the files are different. Your vhost file is named /etc/apache2/sites-available/dimadimaraja.info.vhost
     
  9. 007007

    007007 New Member

    ok

    in the first link that the author has proposed is already in default files ispconfig3 I am wrong?

    the 2nd link is blocked in my country, you can give me the solutions they found it please?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    There are hundreds of posts about this topic available on google. I've just posted you 2 examples. Pleease click here:

    http://www.google.com

    and enter this search term:

    mod_fcgid: ap_pass_brigade failed in handle_request function
     
  11. 007007

    007007 New Member

    from the 2nd link here is the suggestion:

    Code:
    BusyTimeout 10800
    ProcessLifeTime 10800
    IPCConnectTimeout 20
    IPCCommTimeout 10800
    MaxRequestsPerProcess -1
    should increase these values, MaxRequestsPerProcess I do not think it's normal?

    I wonder why the server is slow to load, then there's the max it only 300 members online ...
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    This may have many different reasons incl. mysql configuration etc. Which exact setup and php method have you used before for this site and have you used a php opcode cache?
     
  13. 007007

    007007 New Member

    here my config :

    [​IMG]

    my phpinfo : http://www.dimadimaraja.info/pret.php
    server status : http://www.dimadimaraja.info/status.php (mysql variables ...)

    my /etc/apache2/sites-available/dimadimaraja.info.vhost

    Code:
    <Directory /var/www/dimadimaraja.info>
        AllowOverride None
        Order Deny,Allow
        Deny from all
    </Directory>
    
    <VirtualHost *:80>
          DocumentRoot /var/www/dimadimaraja.info/web
      
        ServerName dimadimaraja.info
        ServerAlias *.dimadimaraja.info 
        ServerAlias site.dimadimaraja.info
        ServerAdmin [email protected]
    
        ErrorLog /var/log/ispconfig/httpd/dimadimaraja.info/error.log
    	
        <Directory /var/www/dimadimaraja.info/web>
            Options FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
            
            # ssi enabled
            AddType text/html .shtml
            AddOutputFilter INCLUDES .shtml
            Options +Includes
        </Directory>
        <Directory /var/www/clients/client3/web5/web>
            Options FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
            
            # ssi enabled
            AddType text/html .shtml
            AddOutputFilter INCLUDES .shtml
            Options +Includes
        </Directory>
    
        # cgi enabled
    	<Directory /var/www/clients/client3/web5/cgi-bin>
          Order allow,deny
          Allow from all
        </Directory>
        ScriptAlias  /cgi-bin/ /var/www/clients/client3/web5/cgi-bin/
        AddHandler cgi-script .cgi
        AddHandler cgi-script .pl
        # suexec enabled
        SuexecUserGroup web5 client3
        # Clear PHP settings of this website
        <FilesMatch "\.ph(p3?|tml)$">
            SetHandler None
        </FilesMatch>
        # php as fast-cgi enabled
        <IfModule mod_fcgid.c>
          # SocketPath /tmp/fcgid_sock/
          IdleTimeout 3600
          ProcessLifeTime 7200
          # MaxProcessCount 1000
          DefaultMinClassProcessCount 3
          DefaultMaxClassProcessCount 100
          IPCConnectTimeout 8
          IPCCommTimeout 360
          BusyTimeout 300
        </IfModule>
        <Directory /var/www/dimadimaraja.info/web>
            AddHandler fcgid-script .php .php3 .php4 .php5
            FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
            Options +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    	<Directory /var/www/clients/client3/web5/web>
            AddHandler fcgid-script .php .php3 .php4 .php5
            FCGIWrapper /var/www/php-fcgi-scripts/web5/.php-fcgi-starter .php
            Options +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    
        # add support for apache mpm_itk
        <IfModule mpm_itk_module>
          AssignUserId web5 client3
        </IfModule>
    
    
    </VirtualHost>
    
    it seems normal to me ...
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    I meant the configuration that you had before you switched the site to the ispconfig server?
     
  15. 007007

    007007 New Member

  16. 007007

    007007 New Member

    Last edited: Jul 19, 2010
  17. 007007

    007007 New Member

    searching in the apache2 error logs, this is what I found:

    Code:
    [Sat Jul 17 17:34:57 2010] [warn] child process 7762 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7763 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7614 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7616 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7617 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7765 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7621 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7633 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7634 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7766 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7646 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:57 2010] [warn] child process 7647 still did not exit, sending a SIGTERM
    [Sat Jul 17 17:34:58 2010] [error] child process 7660 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 6708 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 6424 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 5613 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 5876 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 5879 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 6094 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 6995 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 7570 still did not exit, sending a SIGKILL
    [Sat Jul 17 17:34:58 2010] [error] child process 5624 still did not exit, sending a SIGKILL
    Code:
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2836) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2171) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2797) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2832) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(706) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2822) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2297) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2827) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2810) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2798) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(1066) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(508) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2026) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:40 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2814) exit(idle timeout), terminated by calling exit(), return code: 0
    [Sat Jul 17 16:57:4
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2015) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(1064) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(695) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2007) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(701) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(32578) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(1908) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(1919) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(32649) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(1278) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2118) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2119) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2122) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2123) exit(busy timeout), get stop signal 9
    [Sat Jul 17 16:49:27 2010] [notice] mod_fcgid: process /var/www/dimadimaraja.info/web/index.php(2128) exit(busy timeout), get stop signal 9
    Code:
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/forum/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    [Sat Jul 17 16:49:23 2010] [notice] mod_fcgid: too much /var/www/dimadimaraja.info/web/index.php process(current:100, max:100), skip the spawn request
    these errors are repeated hundreds of times ...
     
  18. 007007

    007007 New Member

    Hi all,

    after hours of searching this is what I found:

    in the /etc/apache2/sites-available/yoursite.info.vhost

    Search and replace

    Code:
        <IfModule mod_fcgid.c>
          # SocketPath /tmp/fcgid_sock/
          IdleTimeout 3600
          ProcessLifeTime 7200
          # MaxProcessCount 1000
          DefaultMinClassProcessCount 3
          DefaultMaxClassProcessCount 100
          IPCConnectTimeout 8
          IPCCommTimeout 360
          BusyTimeout 300
        </IfModule>
    by

    Code:
        <IfModule mod_fcgid.c>
          # SocketPath /tmp/fcgid_sock/
          IdleTimeout 6000
          ProcessLifeTime 10000
          # MaxProcessCount 1000
          DefaultMinClassProcessCount 3
          DefaultMaxClassProcessCount 400
          IPCConnectTimeout 50
          IPCCommTimeout 600
          BusyTimeout 600
        </IfModule>
    Just a confirmation from a professional:

    MaxRequestsPerProcess -1

    does not exist in the config? he should be added ?




    Now for mysql configuration :

    Code:
    Max_used_connections:  	114
    max_connections:  	151
    max_user_connections:  	0
    connect_timeout:  	10
    these values should be increased or not ? what do you thinks ?



    ------------------------
    Original idea :

    thx all for your help
     
  19. 007007

    007007 New Member

    I think I found where is the problem, the configuration of my server:

    Intel (R) Celeron (R) CPU 1.80GHz
    RAM: 2GB

    I'll get another server: Kimsufi 750G

    http://www.kimsufi.com/ks/

    :mad::mad:
     

Share This Page