WebFaction
Community site: login faq

My website: www.rfstory.com

I always got “502 – Bad Gateway” error recently.

Sometimes it's ok, sometimes it's bad.

Any help will be greatly appreciated. Thank you!

asked 05 Nov '11, 21:47

RFStory
111
accept rate: 0%


A 502 error means the back-end server that powers your site is not working. This can be caused by any number of things.

Please submit a support ticket so we can discuss the server, the account, and all the other details required to troubleshoot a 502.

permanent link

answered 05 Nov '11, 22:03

johns
5.4k312
accept rate: 23%

I got recently a couple of similar problems, i found my Web site down !!! and discover that the Apache2 server including peripheral server like Celery or Rabbitmq Server were down too, and had to restart them every Day... I have added in Cron an automatic Discover of Broken server and add an @Hourly restart in order to avoid this damned "502 bad gateway". Also since 3 Days i got when attempting to login over SSH to the Linux Server : "fork resource temporarily unavailable", which is probably in relation to a memory shortage due itself to Insufficient resources required by Apache2 (Number Thread were increased recently) and Various Cron and Background Tasks which are running in background process.

permanent link

answered 06 Nov '11, 04:26

Gon2000fr
1
accept rate: 0%

The above problem do indicate memory shortage, did you try contact us about it or following:
http://docs.webfaction.com/software/general.html?highlight=memory%20usage#reducing-memory-usage

(06 Nov '11, 04:43) neeravk
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×21
×3
×3

question asked: 05 Nov '11, 21:47

question was seen: 2,668 times

last updated: 06 Nov '11, 04:43

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM