Re: PHP 4.0 Bug #4796 Updated: WWW server runs on high loads all the time even with no requests at all.
| From: | Sascha Schumann | Date: | Sun, 11 Jun 2000 06:37:14 +0000 |
| Subject: | Re: PHP 4.0 Bug #4796 Updated: WWW server runs on high loads all the time even with no requests at all. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20994@lists.php.net to get a copy of this message | ||
> I have upgraded to FreeBSD 4.0 a while back, yes. Although you are saying
> that the loads are virtual, but the web server was really having a delay
> in delivering pages to requests. Is this a side effect of the virtual
> loads that FreeBSD miscalculate, I have no clue.
Where did I say that it is "miscalculated"? The algorithm has
simply changed.
> In anycase, is there a solution to this, both for the virtual loads being
> miscalculated you've reported, and the fact that PHP 3.0.xx had no problem
> on FreeBSD 4.0 whereas PHP 4.0.0 did. Problem is high loads of the system
> with no or minimal requests to the web server.
strace is your friend.
You should also compile PHP 4.0 with the following flags:
--enable-inline-optimization --disable-debug
- Sascha