Re: статус у 0.6.29
umask
umask at yandex.ru
Fri Apr 4 09:01:09 MSD 2008
У меня nginx-0.6.28, fc6. Работает уже почти 10 дней без перезапусков.
keepalive отключен.
Примерно 30 запросов\сек.
Active connections: 1
server accepts handled requests
19517378 19517378 19517378
Reading: 0 Writing: 1 Waiting: 0
# ps aux | grep nginx
root 5223 0.0 0.0 3896 660 pts/6 R+ 08:57 0:00 grep nginx
root 9927 0.0 0.0 23732 400 ? Ss Mar26 0:00 nginx: master process nginx
nginx 9928 0.1 0.1 24684 1248 ? S Mar26 23:37 nginx: worker process
nginx 9929 0.1 0.1 24684 1148 ? S Mar26 23:00 nginx: worker process
nginx 9930 0.1 0.1 24816 1412 ? R Mar26 22:53 nginx: worker process
nginx 9931 0.1 0.1 24816 1412 ? S Mar26 22:52 nginx: worker process
# nginx -V
nginx version: nginx/0.6.28
built by gcc 4.1.2 20070626 (Red Hat 4.1.2-14)
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx/nginx.pid --error-log-path=/var/log/nginx/error_log --http-log-path=/var/log/nginx/access_log --http-client-body-temp-path=/home/nginx/body-temp-path --http-proxy-temp-path=/home/nginx/proxy-temp-path --http-fastcgi-temp-path=/home/nginx/fastcgi-temp-path --with-http_stub_status_module --with-mail --with-imap --with-imap_ssl_module --with-mail_ssl_module --with-http_ssl_module --with-http_perl_module --with-http_flv_module --with-http_realip_module --with-http_dav_module --with-http_sub_module --with-http_addition_module --with-http_gzip_static_module --user=nginx --group=nginx --with-cc-opt=-O2 -g -march=i386 -mcpu=i686
# uname -a
Linux host654 2.6.20-1.2962.fc6 #1 SMP Tue Jun 19 18:24:12 EDT 2007 i686 i686 i386 GNU/Linux
# cat /etc/redhat-release
Fedora Core release 6 (Zod)
03.04.08, 23:47, "Alex Vorona" <voron at amhost.net>:
> После апдейта 0.6.25
> nginx version: nginx/0.6.25
> 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
> --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_gzip_static_module
> --with-http_stub_status_module
> на 0.6.29
> nginx version: nginx/0.6.29
> 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
> --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_realip_module
> --with-http_stub_status_module
> в статусе начался рост коннектов, за полтора суток набежало
> Active connections: 13536
> server accepts handled requests
> 1518022 1518022 9963816
> Reading: 3 Writing: 1975 Waiting: 11558
> реально такого количества коннектов нет.
> На сервере примерно 100 запросов/сек, обычный статус выглядит так
> Active connections: 543
> server accepts handled requests
> 103664 103664 714679
> Reading: 0 Writing: 59 Waiting: 484
> 6.2-RELEASE, сборка www/nginx-devel
More information about the nginx-ru
mailing list