Winfield Trail
Winfield Trail

Reputation: 5695

List PHP scripts by CPU time

This may be something that belongs on ServerFault, but I'm not completely certain.

I'm trying to diagnose performance problems on a WordPress install that consistently runs at around 88% CPU load, with 3-8 PHP processes running at any one time (sometimes a few of which are marked as <DEFUNCT>.)

I already have APC installed, WP Super Cache/WP Widget Cache installed.

Is there a way to determine exactly where the bottlenecks are coming from, ideally with a script name or similar?

Upvotes: 0

Views: 393

Answers (1)

wikp
wikp

Reputation: 1203

You may look at the profiling with the XDebug extension: http://xdebug.org/docs/profiler

Upvotes: 1

Related Questions