In the last 2 weeks one of my VPS (2GB ram, 20GB space, Fedora core 17, nginx 1.0.15) started behaving weirdly. Nginx is running on port 80 and proxying requests to apache on 8080.
When I try to edit/publish a post in WordPress (3.9) the browser just hangs. The server at that moment wasn’t busy at all. There were just about several requests.
When I access the site at port 8080 it updates very quickly.
2014/04/20 19:26:39 [warn] 13347#0: *1677851 a client request body is buffered to a temporary file /var/lib/nginx/tmp/client_body/0000067289, client: 126.96.36.199, server: club.orbisius.com, request: “POST /wp-admin/post.php HTTP/1.1”, host: “club.orbisius.com”, referrer: “http://club.orbisius.com/wp-admin/post.php?post=1374&action=edit”
I have tried turning the buffering off and/or to reduce the buffers and their sizes but still no effect.
What options do I have? switch to php-fpm ? upgrade to another distribution? anything else?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.