upstream keepalive close connections actively

Charles Chen crk_world at yahoo.com.cn
Wed Aug 3 09:19:14 UTC 2011


I have checked the codes in 0.3 and in additional "c->close" check in 0.4, it's OK to me. I suggest the archive should always keep up with the change log, and I have checked out that it is updated now.

Thank you.

-----邮件原件-----
发件人: nginx-bounces at nginx.org [mailto:nginx-bounces at nginx.org] 代表 Maxim Dounin
发送时间: 2011年8月3日 15:38
收件人: nginx at nginx.org
主题: Re: upstream keepalive close connections actively

Hello!

On Wed, Aug 03, 2011 at 10:49:10AM +0800, 卫越 wrote:

> I use nginx 0.8.54 together with latest keepalive module and ajp 
> module to build proxy for java runtime, and notice when "accept 
> mutax" is on, the number of upstream connections is 10 to 20 
> times of that when "accept mutax" is off.

Code you provided suggests you've not using latest keepalive 
module but rather something like 0.2  Current version is 0.4.  
Check similar to one your (but correct one) was added in upstream 
keepalive module 0.3, see [1].

[1] http://mdounin.ru/hg/ngx_http_upstream_keepalive/rev/9a4ee6fe1c6d

Maxim Dounin

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx




More information about the nginx mailing list