View Single Post
WHT Addict
Join Date: Jun 2010
Posts: 100
Originally Posted by BTCentral - Ben View Post
Both PHP-FPM and Nginx run under a user/group created by the script - funnily enough, called nginx.

If the webserver can not write to the directory (as barry suggested - and it sounds like that to me too) then simply do a:
PHP Code:
chown -R nginx:nginx /home/nginx 
Hopefully that should sort it out for you.

More updates coming soon, I worked on it a bit a few days back - but have not had the chance to test the changes. Will definitely spend some time on it over the weekend.
It still refuses, its something to do with WP3.0 and being more safer by allowing updates to happen by FTP/SFTP/FTPS i decided ill go with SFTP much easier.

I also did a benchmark of the Nginx setup using

PHP Code:
ab -kc 1000 -n 10000 
Strangely I found many requests failed:

I tried static images too 'nginx-logo.png' and it had high failed requests too. I looked into the logs and found this error:

PHP Code:
2010/09/24 10:36:33 [crit28301#0: *3180 open() "/home/nginx/domains/" failed (24: Too many open files), client:, server:, request: "GET /nginx-logo.png HTTP/1.0", host: "" 
I'm not sure what the problem is.