Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 nginx-forum at nginx.us
Wed Jun 16 01:17:52 MSD 2010

Piotr Karbowski Wrote:
> nginx workers is one thing and php another. You
> host only php or also static files?

I agree with you completely.
I am running a wordpress(es) only as PHP application.

All wordpress static content like images, js/css files are served via
So as far as typical static content is concerned nginx have no
considerable load to worry about.

Then another "static" content comes from output of PHP cached as static
html files.
During my last test, after "caching" was done, I stopped fastcgi-php &
mysql server and as expected request still served by server. Of course
back-end was completely down in that case.

It is backend and some portion of front-end which amounts to PHP load.
And I am putting efforts to make backend faster compared to its current
load time.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,98498,98661#msg-98661

More information about the nginx mailing list