Forum: NGINX Cycling through only one worker

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ulrik Sandberg (Guest)
on 2008-12-03 14:49
(Received via mailing list)
I had an interesting experience just now.

Setup: nginx proxies a portal server, which uses an underlying app
server to
render some contents.

Problem: When displaying a portal page containing content from an app
server, it rendered, and rendered, and rendered again, repeatedly. No
codes. The error log said "client closed prematurely connection ...",
the access log said "got page, got images, got page again, got images

We currently have only a single worker, and due to misconfiguration, the
underlying app server failed miserably. The request was aborted
probably due to the app server failing. I guess nginx considered the
broken and tried another, which was the same worker. And it kept

Question: Can I tell nginx to detect this cycle and instead display an
This topic is locked and can not be replied to.