Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
netstat -anp показывает тысячи L ISTEN ХХХХ/nginx: master
- To: nginx-ru@xxxxxxxxx
- Subject: netstat -anp показывает тысячи L ISTEN ХХХХ/nginx: master
- From: Denis Kot <denis.kot@xxxxxxxxx>
- Date: Mon, 7 Mar 2011 15:07:18 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=pBou+sLy84T825jdUU4dN+2svWX6Sbn/xJq597Ki8OA=; b=DXcY3xaUPdoXogHVWNsMcV/mFWkLMqwRUhrtpreD8YKAkbSwxg853oNVhtIUZPcwvE f0UrEvW/izwOutb4walJQrxC1z2g/bON8mzdQb44IrGymoqLHIYo2qCzOGQxOl0SC514 BGKHap/rB6fxYxBzCrtt4lRvtt3M69xL4A+VU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=UFz6xghxSa1S8S3NU4Rh6UMHsgXCZsNMYZ6DbgbAF2n1ksZ4wmnygv/WNBz6k1rllx 21Q52Xt2nISLtzqSA7QwN/Ls7UbVqcxNdxFexssYXtEXXF1Sq+3KzDMJzThrCsSLHP2y 7ne3G9wyRWCe1AkalTetOxGrcPhcqbpKF3rZU=
Собственно сабж
netstat -anp | grep nginx выдает тысячи (подозреваю, что сотни тысяч,
т.к. "netstat -anp | grep nginx | grep LISTEN | wc -l" уже минут 10
считает) строчек вида:
....
tcp 2 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
tcp 2 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 8622/nginx: master
...
# nginx -V
nginx: nginx version: nginx/0.9.5
nginx: TLS SNI support enabled
nginx: configure arguments: --with-md5=/usr/include --with-sha1-asm
--with-sha1=/usr/include --with-http_addition_module
--with-http_realip_module --with-http_ssl_module
--with-http_perl_module --with-http_stub_status_module
--without-mail_pop3_module --without-mail_smtp_module
--without-mail_imap_module
С 0.8.53 такая же ситуация.
Это нормально?
Главный конфиг:
user nginx nginx;
worker_processes 1;
worker_rlimit_nofile 32768;
error_log /var/log/nginx/error_log info;
events {
worker_connections 8196;
use epoll;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
set_real_ip_from 1.1.1.1;
real_ip_header X-Real-IP;
proxy_cache_path /var/www/nginx/proxy
levels=1:2 keys_zone=zonename:64m max_size=512m
inactive=30d;
log_format main
'$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" '
'"$gzip_ratio"';
client_header_timeout 10m;
client_body_timeout 10m;
send_timeout 10m;
server_names_hash_bucket_size 64;
connection_pool_size 1024;
client_header_buffer_size 64k;
large_client_header_buffers 32 64k;
request_pool_size 16k;
gzip on;
gzip_min_length 110;
gzip_buffers 4 8k;
gzip_types text/plain text/css application/x-javascript
text/xml application/xml application/xml+rss text/javascript;
output_buffers 4 32k;
client_max_body_size 10M;
postpone_output 1460;
sendfile off;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 30 20;
# ignore_invalid_headers on;
# index index.html;
upstream phpfarm {
server unix:/dev/shm/www.sock weight=100 max_fails=10
fail_timeout=5;
# server unix:/dev/shm/www1.sock weight=100 max_fails=10
fail_timeout=5;
# server unix:/dev/shm/www2.sock weight=50 max_fails=10
fail_timeout=5;
# server 127.0.0.1:9000 weight=100 max_fails=10 fail_timeout=5;
}
upstream torrfarm {
# server 10.11.12.8:9000;
server unix:/dev/shm/www1.sock;
}
# server {
# listen 127.0.0.1;
# server_name localhost;
#
# access_log /var/log/nginx/localhost.access_log main;
# error_log /var/log/nginx/localhost.error_log info;
#
# root /var/www/localhost/htdocs;
# }
# SSL example
#server {
# listen 127.0.0.1:443;
# server_name localhost;
# ssl on;
# ssl_certificate /etc/ssl/nginx/nginx.pem;
# ssl_certificate_key /etc/ssl/nginx/nginx.key;
# access_log /var/log/nginx/localhost.ssl_access_log main;
# error_log /var/log/nginx/localhost.ssl_error_log info;
# root /var/www/localhost/htdocs;
#}
include /etc/nginx/vhosts/*.conf;
}
Denis Kot
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|