статус воркера *Giant

Alex Vorona voron at amhost.net
Sun Jul 15 10:18:23 MSD 2007


Hello
Довольно часто наблюдаю такую картину в топе
114 processes: 1 running, 112 sleeping, 1 lock
80171 www          1   4   -5  4228K  3712K *Giant 270:22  2.88% nginx

6.1-RELEASE
nginx -V
nginx version: nginx/0.6.1
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 
--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 
--error-log-path=/var/log/nginx-error.log --with-http_stub_status_module 
--user=www --group=www

конфиг nginx вложил(в живом конфиге ещё где-то 20 аналогичных доменов на этих же 
ИП), трафик в подавляющем большинстве статика, ~30-60Мбит,в пике бывает до 
кратковременного упирания в интерфейс. Запросы  в nginx заворачиваются файерволом
ipfw add 900 fwd xx.xx.xx.xx,8000 tcp from not me to xx.xx.xx.xx dst-port 80 in
ipfw add 901 fwd yy.yy.yy.yy,8000 tcp from not me to yy.yy.yy.yy dst-port 80 in

сетевая fxp, поллинг включен, idle_poll включен

netstat -m
2946/8544/11490 mbufs in use (current/cache/total)
1654/3640/5294/25600 mbuf clusters in use (current/cache/total/max)
1654/3639 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
4044K/9416K/13460K bytes allocated to network (current/cache/total)
3042199/72299/55299 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
1116/3946/6656 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
618732 requests for I/O initiated by sendfile
104 calls to protocol drain routines

mbufs denied не растут
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nginx.conf
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070715/9f5cdd49/attachment.ksh>


More information about the nginx-ru mailing list