server performance issue

Phil Bayfield phil at techlightenment.com
Tue Oct 26 15:58:39 MSD 2010


On 26 October 2010 12:36, Ilan Berkner <iberkner at gmail.com> wrote:
>
>
> You could also profile your php application using xdebug and view the
> resulting files using a grind tool to determine where php is spending most
> of its time.  Profiling will most definitely crash your application,
> especially since you're already seeing 100% CPU utilization but you can run
> it for a short period of time and review the resulting grind files.
>
>
You can set in the ini:

xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=1

Then add XDEBUG_PROFILE to any URL to profile it.

Webgrind is a nice grind viewer: http://code.google.com/p/webgrind/

It would be a really bad idea to run either of these on a production server,
especially one that's under high load, the profiling process is incredibly
resource intensive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101026/92f8d637/attachment.html>


More information about the nginx mailing list