I'm a relative newbie to this VPS world, and jumped in with nginx 07.62 for my wordpress blog.
Unfortunately the fastcgi process is unstable, I find that it goes down every other day. The symptom's of such a crash are nginx 502 errors, both when I attempt to load the /wp-admin page, and on redirect after leaving a blog comment.
.
2010/01/06 14:14:23 [error] 2373#0: *30147 connect() failed (111: Connection refused) while connecting to upstream, client: 174.37.205.87, server:
www.mydomain.com, request: "GET /feed/atom/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:14:47 [error] 2373#0: *30149 connect() failed (111: Connection refused) while connecting to upstream, client: 87.250.254.241, server:
www.mydomain.com, request: "GET /forum/index.php?topic=9413.msg49196 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:14:55 [error] 2373#0: *30151 connect() failed (111: Connection refused) while connecting to upstream, client: 134.159.131.34, server:
www.mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:15:04 [error] 2373#0: *30153 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.68.146, server:
www.mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:15:04 [error] 2373#0: *30156 connect() failed (111: Connection refused) while connecting to upstream, client: 220.253.177.77, server:
www.mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:15:11 [error] 2373#0: *30159 connect() failed (111: Connection refused) while connecting to upstream, client: 209.85.238.16, server:
www.mydomain.com, request: "GET /feeds/posts/default HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:15:14 [error] 2373#0: *30161 connect() failed (111: Connection refused) while connecting to upstream, client: 134.159.131.34, server:
www.mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:16:18 [error] 2619#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 134.159.131.34, server:
www.mydomain.com, request: "GET /forum/index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:16:19 [error] 2622#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 216.18.20.8, server:
www.mydomain.com, request: "GET /feed/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com"
2010/01/06 14:17:45 [error] 2380#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 218.185.92.146, server:
www.mydomain.com, request: "GET /the-start-of-the-melbourne-rebellion/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.com", referrer: "http://www.google.com/search?q=Harold+MItchell+Melbourne+rebels&rls=com.microsoft:en-au:IE-SearchBox&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7ADBR"
, spawn-cgi, /usr/bin/php-cgi -b 127.0.0.1:9000, and now I'm considering PHP-FPM.
Does this sound like a reasonable strategy? I'm at the point where I might give up on nginx and just install apache2! I'd really rather not though, nginx absolutely flies when it's running..
I'd really appreciate any advice on what to check, or any alternatives I haven't yet found.
Moses.