Current time: 11-26-2024, 03:12 AM 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
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
Post Reply 


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

Forum Jump:


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