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 exactly which script consumes so much
cpu.
So, we cant to figure out how much cpu does a php script
their own pid (i
believe, but not tested this) that let's you track them more easily.
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: Tanoor Dieng newstan...@gmail.com
Date: Mon, Jan 17, 2011 10:23
Subject: [PHP] How to get cpu consumption of a php script
To: php-general
-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 anything except using top or ps
-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
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
Hi thanks, for xdebug, we'll take al look at it.
On Mon, Jan 17, 2011 at 11:51 AM, Thijs Lensselink d...@lenss.nl 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
On 17 January 2011 10:58, Camilo Sperberg unrea...@gmail.com 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
7 matches
Mail list logo