nginx upstream prematurely closed connection
mdounin at mdounin.ru
Fri Mar 30 12:01:23 UTC 2012
On Thu, Mar 29, 2012 at 03:51:31PM +0000, Ramy Allam wrote:
> I'm using nginx as a reverse proxy to handle static files with apache to handle dynamic file .php
> I'm receiving too many errors ( Bad Gateway 502 ) when i'm using vBulletin , joomla , wordpress in PHP Post or curl() inside php.
> I reviewed log i noticed this error is frequently appears:
> "upstream prematurely closed connection while reading response header from upstream"
> Nginx version: nginx/1.0.11Apache/2.2.22PHP 5.2.17
Such messages usually appear due to upstream server crash and/or
process termination due to some limits (memory, cpu, execution
time...). Try looking into apache logs and/or system logs to see
More information about the nginx