Re: Load in a dedicated server
| From: | desa15 at necso dot es | Date: | Fri, 25 Jul 2003 05:25:20 +0000 |
| Subject: | Re: Load in a dedicated server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156792@lists.php.net to get a copy of this message | ||
* Thus wrote desa15@necso.es (desa15@necso.es):
> Hit to all, i have a Sun cobalt Raq 550, with php 4.1 as a module with
> apache 1.3
>
> The load average of my server is ever above 0.20 to 0.60 whith the same
> users
>
> When i turn off register globals and turn on safe mode in php.ini and
> restart the apache daemon to take the changes, the load averge is ever
0.90
> to 1.20
>Have you tried toggling each one seperatly to see which one is
>causing the overhead. My bet would be the safe_mode since it has
>extra work to do.
>If that is the case safe_mode is VERY expensive, or something is
>wrong. I hope (nothing personal) that there is something wrong with
>your php scripts, because that is too high of a price to pay for
>safe_mode.
>Curt
>--
>"I used to think I was indecisive, but now I'm not so sure."
I found the problem, my scripts works fine :), apache work fine and lightly
load :).
safe mode and mysql persistent connections is a bad idea, in a server with
high load.
I change to non persisten connections and everything works ok, but the
performance is no
acceptable. The first step is change to a cache system to reduce the load
in a server, with
persistent connections.
Excuse my broken english.
Thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php