WebFaction
Community site: login faq

We are having crashes that repeats itself in long intervals. In many ways it feels similar to this issue. However our memory usage is around 100MB thus never exceeds 256MB limit.

The annoying thing is that only the Rack process crashes and not the whole Nginx process thus crontab does not attempt to restart the server causing us to keep on getting errors in the 502 until we restart Nginx manually.

Our latest crash was on the 2nd of January 2012, somewhere around 17-18h. Nginx error logs do not show anything nor do we see anything abnormal in the rails application logs. However in the frontend logs we saw the following, which does not seem to give much information:

2012/01/02 17:56:52 [error] 14454#0: *6559 connect() failed (111: Connection refused) while connecting to upstream, client: 209.85.238.179, server: staging.thenaked.nl, request: "GET /feed.rss HTTP/1.1", upstream: "http://127.0.0.1:38557/feed.rss", host: "staging.thenaked.nl"

What could be going wrong? How could we go around debugging it? Any help would be appreciated.

asked 06 Jan '12, 04:14

dunyakirkali
111
accept rate: 0%


Hi,

You will have to use the configuration directive here to enable detailed logging.

permanent link

answered 06 Jan '12, 04:32

neeravk
1.5k3412
accept rate: 41%

Thank you for the quick reply neeravk. I will increase the log level and hope that the app crashes sometime soon.

(06 Jan '12, 05:24) dunyakirkali
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:

×186
×28

question asked: 06 Jan '12, 04:14

question was seen: 2,939 times

last updated: 06 Jan '12, 05:24

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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