Current time: 11-05-2024, 02:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT keine RÜCKMELDUNG]php5-cgi Prozesse killen den Server
Author Message
shox Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 0
Post: #1
[ERLEDIGT keine RÜCKMELDUNG]php5-cgi Prozesse killen den Server
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
(This post was last modified: 12-02-2009 02:24 AM by ZooL.)
11-28-2009 06:08 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #2
RE: php5-cgi Prozesse killen den Server
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
11-28-2009 06:13 AM
Find all posts by this user Quote this message in a reply
shox Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 0
Post: #3
RE: php5-cgi Prozesse killen den Server
hat sogut wie garnichts gebracht...

[Image: R0i53067.jpg]

btw: fcgid.conf:

<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
IPCConnectTimeout 20
</IfModule>
11-28-2009 06:18 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #4
RE: php5-cgi Prozesse killen den Server
Auch die alten Prozesse gekillt?

versuch auch mal mal folgendes

a2dismod fcgid_iscp
a2enmod fastcgi_ispcp


/etc/init.d/apache2 restart
11-28-2009 06:28 AM
Find all posts by this user Quote this message in a reply
shox Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 0
Post: #5
RE: php5-cgi Prozesse killen den Server
~# a2dismod fcgid_iscp
ERROR: Module fcgid_iscp does not exist!

~# a2enmod fastcgi_ispcp
Module fastcgi_ispcp already enabled

... ja hab alles gemacht
11-28-2009 06:33 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: php5-cgi Prozesse killen den Server
vServer?
11-28-2009 06:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
shox Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 0
Post: #7
RE: php5-cgi Prozesse killen den Server
nein isgenug root
11-28-2009 06:36 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #8
RE: php5-cgi Prozesse killen den Server
Da ist aber scheinbar einiges im argen wenn fcgid nicht mehr am start ist.
11-28-2009 06:45 AM
Find all posts by this user Quote this message in a reply
shox Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 0
Post: #9
RE: php5-cgi Prozesse killen den Server
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
11-28-2009 06:48 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #10
RE: php5-cgi Prozesse killen den Server
Versuch mal:
aptitude update
aptitude install libapache2-mod-fcgid

a2enmod fcgid
a2dismod fastcgi_ispcp
11-28-2009 07:21 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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