Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
166 views

Finding Nginx/PHP-FPM bottleneck that is causing random 502 gateway errors

I work for a rather busy internet site that is often gets very large spikes of traffic. During these spikes hundreds of pages per second are requested and this produces random 502 gateway errors. Now ...
0
votes
0answers
85 views

504 and 502 with cherokee reverse proxy to php server

Im running Cherokee as a reverse proxy to a server running a php web application and am getting lots of 502 and 504 errors. The issues seems to only happen with image uploads but is not tied to a ...
3
votes
1answer
1k views

connect() failed (111: Connection refused) while connecting to upstream

I'm experiencing 502 gateway errors when accessing a PHP file in a directory (http://domain.com/dev/index.php), the logs simply says this: 2011/09/30 23:47:54 [error] 31160#0: *35 connect() failed ...
0
votes
0answers
252 views

After updating to Rails 3.1.0.rc5 Passenger with nginx has intermittent 502 errors

It appears that only one passenger instance serves requests, the others just serve 502 errors. This causes an intermittent error pattern because only the requests that are directed to the second ...
0
votes
2answers
112 views

502 error after adding module to a Django project running on nginx and gunicorn

I am trying to add a module to an existing Django project, but once I have done it I get a 502 error. The server is running Ubuntu. I don't think it has to do with the applications code because I got ...
1
vote
1answer
150 views

mod_rpaf with nginx + apache causes 502 error (firephp fault)

I have such trouble. There are nginx (as frontent to apache) and apache with mod_rpaf installed. It worked good for a month or so. But today error 502 returned to some requests to php (not all ...
2
votes
1answer
231 views

qmail responds 502 unimplemented on STARTTLS

I am trying to send mail with php using the PEAR Mail_queue package. It should be working, and it appeared to work twice, but for some reason I keep getting the following error response from qmail: ...
4
votes
1answer
3k views

Nginx + PHP-FPM = “Random” 502 Bad Gateway

I am running Nginx and proxying php requests via FastCGI to PHP-FPM for processing. I will randomly receive 502 Bad Gateway error pages - I can reproduce this issue by clicking around my PHP websites ...
2
votes
2answers
4k views

nginx 502 bad gateway - fastcgi not listening? (Debian 5)

I have experience with nginx but it's always been pre-installed for me (via VPS.net pre-configured image). I really like what it does for me, and now I'm trying to install it on my own server with ...
7
votes
4answers
1k views

What's the difference between domainname.com and www.domainname.com?

I'm a developer and I'm having trouble setting up some hosting, and I hope you guys can help me out. I've got a domain I'm setting up for a friend. URLs work fine when I use the short form, like ...