Current time: 09-29-2024, 11:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
Sehr hoher Load
Author Message
MoritzDorn Offline
Junior Member
*

Posts: 178
Joined: Nov 2007
Reputation: 0
Post: #38
RE: Sehr hoher Load
Hi,

ich bin grade erfolgreich auf PHP5 umgestiegen, jetzt ist die Auslastung (Load) 7.41 7.38 7.11 vorher mit PHP4 war es immer unter 1.50

Ich habe mir hier schon einiges durchgelesen und ausprobiert, aber der Load ist immer noch recht hoch.

Zum Server:
1GB RAM, Debian 4, Intel® Pentium® 4 CPU 3.00GHz
ISPCP: RC 3

Die fcgi Files sehen so aus:
Code:
#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/(domain).de/php5/"

export PHPRC
PHP_FCGI_CHILDREN=5
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=1000
export PHP_FCGI_MAX_REQUESTS

exec /usr/bin/php5-cgi

die /etc/apache2/mods-enabled/fastcgi_ispcp.conf so:
Code:
<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2
FastCgiConfig -minProcesses 0 -maxProcesses 400 -singleThreshold 100
              #-killInterval 300 \
              #-autoUpdate \
              #-idle-timeout 240 \
              #-pass-header HTTP_AUTHORIZATION

FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000

#
# PHP5 SUPPORT
#

AddHandler php-fastcgi .php

<Location /php5/php5-fcgi-starter>
    SetHandler fastcgi-script
    Options +ExecCGI
</Location>

Action php-fastcgi /php5/php5-fcgi-starter
AddType application/x-httpd-php .php

</IfModule>

An der kann man ja recht viel ändern, nur was genau kann ich da jetzt zu meinem Vorteil machen?

MfG
(tanzt schön in den Mai)
(This post was last modified: 05-01-2008 03:02 AM by MoritzDorn.)
05-01-2008 02:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread

Forum Jump:


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