Welcome! Log In Create A New Profile

Advanced

Re: Fastcgi_cache sometimes returns statuscode 500

March 02, 2015 09:11AM
I've had 2 cases with status code 500 now since setting error log to debug level:

The error msg: "epoll_wait() reported that client prematurely closed connection while sending request to upstream"

It's interesting to note that:
If a "normal" file (no caching involved) is requested and the client closes the connection prematurely, the status code is 200 and the response body is 0 bytes.
If first a php script is called, which responds with a X-Accel-Redirect to the cached file, and the client closes the connection prematurely, the status code is 500 and the response body is 0 bytes.
Subject Author Posted

Fastcgi_cache sometimes returns statuscode 500

mastercan March 02, 2015 06:11AM

Re: Fastcgi_cache sometimes returns statuscode 500

Maxim Dounin March 02, 2015 07:48AM

Re: Fastcgi_cache sometimes returns statuscode 500

mastercan March 02, 2015 07:50AM

Re: Fastcgi_cache sometimes returns statuscode 500

Maxim Dounin March 02, 2015 07:58AM

Re: Fastcgi_cache sometimes returns statuscode 500

mastercan March 02, 2015 08:04AM

Re: Fastcgi_cache sometimes returns statuscode 500

mastercan March 02, 2015 09:11AM

Re: Fastcgi_cache sometimes returns statuscode 500

Maxim Dounin March 02, 2015 10:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready