On 17 January 2011 10:58, Camilo Sperberg wrote:
> Please take into account that lighttpd does have some random high
> cpu-consumption problems, it could be that also. Give nginx a try instead.
>
> Also: microtime by itself isn't enough, sum time() to it because if a script
> lasts more than 1 s
Hi thanks, for xdebug, we'll take al look at it.
On Mon, Jan 17, 2011 at 11:51 AM, Thijs Lensselink wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/17/2011 11:23 AM, Tanoor Dieng wrote:
> > Hi everybody,
> > I'm a php developper for a high traffic website. Our web servers run
Please take into account that lighttpd does have some random high
cpu-consumption problems, it could be that also. Give nginx a try instead.
Also: microtime by itself isn't enough, sum time() to it because if a script
lasts more than 1 second you can end up with negative total time, microtime
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/17/2011 11:23 AM, Tanoor Dieng wrote:
> Hi everybody,
> I'm a php developper for a high traffic website. Our web servers run with
> lightty?
>
> We have some issues with the cpu consumption of our servers.
>
> The problem is that, we don't know
> -Original Message-
> From: a...@ashleysheridan.co.uk [mailto:a...@ashleysheridan.co.uk]
> Sent: Monday, January 17, 2011 2:36 AM
> To: Tanoor Dieng; php-general@lists.php.net
> Subject: Re: [PHP] How to get cpu consumption of a php script
>
> I can't think of
I can't think of anything except using top or ps. If you can't guarantee what
process runs what individual script, are you able to just track them all
globally, and check for differences as you start and stop scripts. Perhaps run
certain scripts under different users which should give them their
6 matches
Mail list logo