Welcome! Log In Create A New Profile

Advanced

Утечка сокетов

Artemiev Igor
January 06, 2010 01:20AM
Здравствуйте.

При некотором достаточно большом числе активных соединений (~6K) имею
вышеозначенную проблему - постоянно растущее количество соединений в состоянии
CLOSED. С debug_points abort удалось получить несколько корок на выходе.

nginx version: nginx/0.8.31
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --with-debug --with-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-log-path=/var/log/nginx-access.log --with-http_geoip_module --with-http_stub_status_module --add-module=/usr/ports/www/nginx-devel/work/nginx_upload_module-2.0.11 --add-module=/usr/ports/www/nginx-devel/work/nginx_uploadprogress_module-0.7 --with-pcre

Данные из корки по некоторым из таких соединений:

discard_body 0
lingering_close 0
lingering_time 0
keepalive 0
$3 = 0x447d30 <ngx_http_test_reading>
$4 = 0x447860 <ngx_http_writer>
$5 = 0x4a7ac2 "sending response to client"
$6 = (ngx_int_t (*)(ngx_http_request_t *, ngx_chain_t *)) 0x468640 <ngx_http_range_body_filter>
kq_errno 0
pending_eof 0
single_connection 0
unexpected_eof 0
timedout 0
error 0
destroyed 0
idle 0
close 0
sendfile 0
sndlowat 0
status 200
count 1
blocked 1
sent 629145912
length -1
wev->timedout 0
wev->active 1
r->aio 1
wev->delayed 0
wev->ready 1

discard_body 0
lingering_close 0
lingering_time 0
keepalive 0
$3 = 0x447c80 <ngx_http_block_reading>
$4 = 0x448f00 <ngx_http_request_empty_handler>
$5 = 0x4a7566 "sending to client"
$6 = (ngx_int_t (*)(ngx_http_request_t *, ngx_chain_t *)) 0x468640 <ngx_http_range_body_filter>
kq_errno 54
pending_eof 1
single_connection 0
unexpected_eof 0
timedout 0
error 1
destroyed 0
idle 0
close 0
sendfile 0
sndlowat 0
status 200
count 1
blocked 0
sent 6553888
length -1
wev->timedout 1
wev->active 1
r->aio 0
wev->delayed 1
wev->ready 1



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

Утечка сокетов

Artemiev Igor January 06, 2010 01:20AM

Re: Утечка сокетов

Михаил Монашёв January 06, 2010 02:28AM

Re: Утечка сокетов

Igor Sysoev January 06, 2010 02:38AM

Re: Утечка сокетов

Artemiev Igor January 06, 2010 12:46PM

Re[2]: Утечка сокетов

Михаил Монашёв January 06, 2010 05:04PM

Re: Утечка сокетов

Sergey A. Osokin January 06, 2010 03:12AM

Re: Утечка сокетов

Artemiev Igor January 06, 2010 08:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 107
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready