Welcome! Log In Create A New Profile

Advanced

Re: Dropped connections on our Nginx

Maxim Dounin
June 20, 2012 08:56AM
Hello!

On Wed, Jun 20, 2012 at 07:57:13PM +0800, Mauro Stettler wrote:

> In the meantime I found that there is a log entry when this problem happens:
>
> 2012/06/20 13:14:33 [alert] 4340#0: *23199 http request count is zero
> while sending to client, client: <ip>, server: <server>, request:
> "POST /userProfile/updateVisitCountAndVisitHistory/user_id/<id>/gender/w/nickname/geilpopperrin/membership/normal/hash/bb7e2305b293458dc8e9043486a6a455
> HTTP/1.1", upstream: "fastcgi://10.20.0.159:9000", host: "<host>",
> referrer: "<referrer>"
>
> If I understand that error right, it means that when Nginx tried to
> build the reply to the client, it somehow lost the context to which
> request this is associated to? As far as I see the error is outputted
> from this part of the source:
>
> src/http/ngx_http_request.c:
> 2983 if (r->count == 0) {
> 2984 ngx_log_error(NGX_LOG_ALERT, c->log, 0, "http request
> count is zero");
> 2985 }
>
> What would be a possible reason why the r->count is 0?

The message means that nginx detected request reference count
being incorrect. This in turn means there is a bug somewhere.

> Do I have to assume that there is a bug in one of the 3th party
> modules which are used?

Likely yes.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Dropped connections on our Nginx

replay June 19, 2012 10:54PM

Re: Dropped connections on our Nginx

unclepieman June 20, 2012 12:56AM

Re: Dropped connections on our Nginx

replay June 20, 2012 01:10AM

Re: Dropped connections on our Nginx

replay June 20, 2012 07:58AM

Re: Dropped connections on our Nginx

Maxim Dounin June 20, 2012 08:56AM

Re: Dropped connections on our Nginx

Maxim Dounin June 20, 2012 08:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready