"Waiting for..."

#1
Currently having an issue where it seems dynamic sites have a rather high TTFB (Time to first byte) causing "Waiting for..." issues when loading them. Static sites seem fine however dynamic sites seem to have anywhere between a 500ms to 2000ms delay before producing results.

Server is fine in terms of load, CPU usage and I/O.

EDIT: Just to add, this appears to happen across multiple servers and not just one specific server. Is it a side effect of using LSAPI PHP?

Any ideas?
 
Last edited:

NiteWave

Administrator
#2
php is known much slower than static content. in a shared host, when a php request comes in, typically the web server need start up a php process and execute it.

regarding php lsapi, in fact it's fastest fast-cgi for php as of we know.
we've heard of "nginx + php-fpm" is fastest, our simple benchmark shows lsphp outperform it without doubt.

have you tested with just a "hello world" php page and same result ?
 
Top