upstream keepalive - call for testing

magicbear nginx-forum at nginx.us
Wed Sep 14 22:54:24 UTC 2011


I have run the nginx 1.1.2 via this patch for 7 days, except for one
days have a large DDoS so I restart nginx for several seconds, it was
very stable to work.
Handle about 70million request without problem happen, I think the last
problem may be have a memory corruption, you are right.
I will check that server when have times.
Thanks for your hard work.

MagicBear

Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
> 
> On Mon, Sep 05, 2011 at 11:42:31PM +0800,
> ビリビリⅤ wrote:
> 
> > (gdb) fr 0
> > #0  ngx_http_upstream_handler
> (ev=0x7fc45735f8a8)
> >     at src/http/ngx_http_upstream.c:915
> > 915    ctx->current_request = r;
> > (gdb) p ngx_cycle->log
> > $1 = (ngx_log_t *) 0x21f19a8
> > (gdb) p *r
> > $2 = {signature = 51686928, connection =
> 0x23b4160, ctx = 0x0,
> 
> [...]
> 
> This looks like memory corruption, but
> unfortunately I don't see 
> any traces of the real cause.  My best quess is
> improper handling 
> of proxy_ignore_client_abort as fixed in 1.1.2. 
> Please try 1.1.2 
> with patches from
> 
> http://nginx.org/patches/patch-nginx-keepalive-ful
> l-5.txt
> 
> It already includes upstream keepalive module, as
> well as all 
> other upstream-keepalive related fixes.  See here
> for details:
> 
> http://mailman.nginx.org/pipermail/nginx-devel/201
> 1-September/001147.html
> 
> Maxim Dounin
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,213207,215217#msg-215217



More information about the nginx mailing list