ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Здравствуйте.

При некотором достаточно большом числе активных соединений (~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@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.