ispCP - Board - Support
[ERLEDIGT keine RÜCKMELDUNG]php5-cgi Prozesse killen den Server - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+---- Forum: Archiv (/forum-54.html)
+---- Thread: [ERLEDIGT keine RÜCKMELDUNG]php5-cgi Prozesse killen den Server (/thread-8598.html)

Pages: 1 2 3 4


[ERLEDIGT keine RÜCKMELDUNG]php5-cgi Prozesse killen den Server - shox - 11-28-2009 06:08 AM

Hallo,

[Fri Nov 27 21:01:34 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:34 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:34 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:35 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:35 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:35 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/wp-admin/index-extra.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:35 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:35 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:36 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:36 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:36 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/wp-admin/index-extra.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:36 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:36 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:36 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:37 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:37 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:37 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:37 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/wp-admin/index-extra.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:37 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:37 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: process /var/www/virtual/blog/htdocs/index.php(11770) exit(communication error), terminated by calling exit(), return code: 0
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: process /var/www/virtual/blog/htdocs/index.php(11767) exit(communication error), terminated by calling exit(), return code: 0
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: call /var/www/virtual/blog/htdocs/index.php with wrapper /var/www/fcgi/blog/php5-fcgi-starter
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: call /var/www/virtual/blog/htdocs/index.php with wrapper /var/www/fcgi/blog/php5-fcgi-starter
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/index.php process(current:10, max:10), skip the spawn request
[Fri Nov 27 21:01:38 2009] [notice] mod_fcgid: too much /var/www/virtual/blog/htdocs/wp-admin/index-extra.php process(current:10, max:10), skip the spawn request


Das ist derzeit mein grosses Problem. Es ist ein wordpress blog, wo 14 leute online sind und der server hat massiv probleme diese user zu verarbeiten, die serverload schiesst in die höhe einfach uncool.

hier meine conf:

fastcgi_ispcp.conf

Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright     2006-2008 by ispCP | http://isp-control.net
# @version         SVN: $Id$
# @link         http://isp-control.net
# @author         ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​

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

    FastCgiConfig -minProcesses 1 \
                  -maxProcesses 400 \
                  -maxClassProcesses 5 \
                  -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

    #
    # PHP{PHP_VERSION} SUPPORT
    #

    AddHandler php-fastcgi .php .php{PHP_VERSION}

    <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter>
        SetHandler fastcgi-script
        Options +ExecCGI
    </Location>

    Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter
    AddType application/x-httpd-php .php .php{PHP_VERSION}
</IfModule>


fcgid_ispcp.conf

Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright     2006-2009 by ispCP | http://isp-control.net
# @version         SVN: $Id$
# @link         http://isp-control.net
# @author         ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​

<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php{PHP_VERSION}
  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:
~# php5-cgi -v
PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Nov 22 2009 02:20:54)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

danke schonmal für eure hilfe, ich hab hier zwar im board alles durchgeschaut, trotzdem hat nichts geholfen, der server laggt ohne ende

debian5 lenny 1gb ram


RE: php5-cgi Prozesse killen den Server - Lucan - 11-28-2009 06:13 AM

Und da ist auch shcon der Fehler, ersetze deine Configs mit denen hier:
(Bei dir sind die Variablen für die php Version nicht gesetzt)
Anschliesend alle prozesse mal killen und apache neu starten und schon sollte das Problem behoben sein.


fastcgi_ispcp.conf

Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright     2006-2008 by ispCP | http://isp-control.net
# @version         SVN: $Id$
# @link         http://isp-control.net
# @author         ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​

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

    FastCgiConfig -minProcesses 1 \
                  -maxProcesses 400 \
                  -maxClassProcesses 5 \
                  -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>


fcgid_ispcp.conf

Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright     2006-2009 by ispCP | http://isp-control.net
# @version         SVN: $Id$
# @link         http://isp-control.net
# @author         ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​

<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>


Falls es hilft würde ich mich über ne Bewertung freuen Wink


Grüße


RE: php5-cgi Prozesse killen den Server - shox - 11-28-2009 06:18 AM

hat sogut wie garnichts gebracht...

[Image: R0i53067.jpg]

btw: fcgid.conf:

<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
IPCConnectTimeout 20
</IfModule>


RE: php5-cgi Prozesse killen den Server - Lucan - 11-28-2009 06:28 AM

Auch die alten Prozesse gekillt?

versuch auch mal mal folgendes

a2dismod fcgid_iscp
a2enmod fastcgi_ispcp


/etc/init.d/apache2 restart


RE: php5-cgi Prozesse killen den Server - shox - 11-28-2009 06:33 AM

~# a2dismod fcgid_iscp
ERROR: Module fcgid_iscp does not exist!

~# a2enmod fastcgi_ispcp
Module fastcgi_ispcp already enabled

... ja hab alles gemacht


RE: php5-cgi Prozesse killen den Server - gOOvER - 11-28-2009 06:35 AM

vServer?


RE: php5-cgi Prozesse killen den Server - shox - 11-28-2009 06:36 AM

nein isgenug root


RE: php5-cgi Prozesse killen den Server - Lucan - 11-28-2009 06:45 AM

Da ist aber scheinbar einiges im argen wenn fcgid nicht mehr am start ist.


RE: php5-cgi Prozesse killen den Server - shox - 11-28-2009 06:48 AM

ich hab das iuspcp von 1.0.0 auf 1.0.2 geupdted, sonst nichts, wenn ihr mir sagt wie ich das fixe gerne :X


RE: php5-cgi Prozesse killen den Server - Lucan - 11-28-2009 07:21 AM

Versuch mal:
aptitude update
aptitude install libapache2-mod-fcgid

a2enmod fcgid
a2dismod fastcgi_ispcp