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


Post Reply 
HiGH CPU Load
Author Message
monstar-x Offline
Junior Member
*

Posts: 27
Joined: Apr 2008
Reputation: 0
Post: #6
RE: HiGH CPU Load
(04-18-2009 08:24 PM)BeNe Wrote:  
Quote:-Debian 4.0 Stable Tree
4.0 ist klar --> Etch aber Stable wäre dann aber Lenny also 5.0.1 aktuell.

Ich würde an deiner Stelle mal auf Worker bei dem RAM wechseln und anstatt fast_cgi auf fcgid wechseln. Haben besser Erfahrungen damit und eine gute config hier im Forum.

Greez BeNe

Welche config kannst du empfehlen?


(04-18-2009 09:13 PM)Lucan Wrote:  Poste auserdem mal deine fastcgi.conf sowie die fastcgi_ispcp.conf und poste mal alle apache mods die du eingeschaltet hast.

Es sind die Standard config Files, habe ich nichts an den config Files verändert.
PHP ist PHP5, wie BeNe schon richtig vermutet hat.

fastcgi.conf
Code:
<IfModule mod_fastcgi.c>
  AddHandler fastcgi-script .fcgi
  #FastCgiWrapper /usr/lib/apache2/suexec2
  FastCgiIpcDir /var/lib/apache2/fastcgi
</IfModule>

fastcgi_ispcgi.conf
Code:
#
# ispCP �~I (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/fastcgi2

        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>





Apache loaded modules
Code:
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
fastcgi_module (shared)
fcgid_module (shared)
include_module (shared)
mime_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
suexec_module (shared)
Syntax OK
(This post was last modified: 04-19-2009 04:39 AM by monstar-x.)
04-19-2009 04:38 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
HiGH CPU Load - monstar-x - 04-18-2009, 08:16 PM
RE: HiGH CPU Load - BeNe - 04-18-2009, 08:24 PM
RE: HiGH CPU Load - Lucan - 04-18-2009, 09:13 PM
RE: HiGH CPU Load - monstar-x - 04-19-2009 04:38 AM
RE: HiGH CPU Load - Hateman - 04-18-2009, 09:21 PM
RE: HiGH CPU Load - BeNe - 04-19-2009, 02:22 AM
RE: HiGH CPU Load - BeNe - 04-19-2009, 05:45 AM
RE: HiGH CPU Load - monstar-x - 04-19-2009, 08:36 PM
RE: HiGH CPU Load - monstar-x - 04-20-2009, 07:35 PM
RE: HiGH CPU Load - BeNe - 04-20-2009, 07:40 PM
RE: HiGH CPU Load - Lucan - 04-21-2009, 12:37 AM

Forum Jump:


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