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]

Re: Re[2]: linux, aio memory usage


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Re[2]: linux, aio memory usage
  • From: proforg <proforg@xxxxxxxxxxxx>
  • Date: Mon, 19 Oct 2009 01:20:55 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type; bh=LIjNhMNY+3dy/lUkTdkRfQxkE9Q0bjY+fOEA/hQ36tk=; b=Q3ArfBIIiFaoVxzG+ZKZ9YS/Abiln2vczwbYQ193h5Y5Q81RI2R3SPK7xIdkv9a5Be 3MWo4YEX+1ZFOq6TGhCACjg5bPLBlWpgGDBDbTyaWvIHeudc/l2wuCMRe979DhiUYQy1 ayE7EkAD+jJClYTaLNRMKsEzazCE+YmarMaVc=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=b192gjUnefbt32lpEbCWln5HYQzx55vn4abt0YLsHwXub4CmQz8649UKFk2R58M5MS eF61ICt87gEn1vPUtadczcEKSvlQBBvuMBpoZN8Bt+2AV6da3BPVfjpmS2cj/fyZSHhP G/ma+ippiVq2jw9mhKWo37mtIp7qaBVsoS500=
  • In-reply-to: <20091016225031.94F5.F6F2AC58@xxxxxxxxx>
  • References: <2aed651c0910141534l459f154cn1c9bafac45829d81@xxxxxxxxxxxxxx> <2aed651c0910161108y3b4f3176m42928b88a789d304@xxxxxxxxxxxxxx> <20091016225031.94F5.F6F2AC58@xxxxxxxxx>

output_buffers  1 128k;
   .

    , - ""  
 CLOSE_WAIT
   1669 CLOSE_WAIT
     10 CLOSING
   1392 ESTABLISHED
     90 FIN_WAIT1
     65 FIN_WAIT2
     36 LAST_ACK
      1 LISTEN
    120 SYN_RECV
    322 TIME_WAIT

  http://www.lexa.ru/nginx-ru/msg27451.html
     post_action /  location

2009/10/16 AleXXX V. NovikoFF <alexxx@xxxxxxxxx>:
> Hi!
>
>  .
>      output_buffers
>
> Fri, 16 Oct 2009 22:08:30 +0400
> proforg <proforg@xxxxxxxxxxxx> ():
>
> p> , ,     nginx  aio / directio 
> p>   ң  ?
> p>      ?
> p>
> p> 2009/10/15 proforg <proforg@xxxxxxxxxxxx>:
> p> >   !
> p> >
> p> >   aio nginx   ""  
> p> >   .
> p> >   - 4Gb     4.
> p> >
> p> >  40   :
> p> > USER    PID %CPU %MEM  VSZ  RSS TTY   STAT START  TIME COMMAND
> p> > root   2641 0.0 0.6 105992 27464 ?    Ss  15:25  0:00
> p> > nginx: master process /usr/sbin/nginx
> p> > www-data 2642 0.6 10.3 495964 418672 ?    S  15:25  0:16
> p> > nginx: worker process
> p> > www-data 2644 0.6 9.7 474572 397280 ?    R  15:25  0:16
> p> > nginx: worker process
> p> > www-data 2645 0.5 10.3 496348 419180 ?    S  15:25  0:16
> p> > nginx: worker process
> p> > www-data 2646 0.5 10.4 501336 423956 ?    S  15:25  0:16
> p> > nginx: worker process
> p> >
> p> >    ԣ  "open files"
> p> >
> p> >  , ,   :
> p> >
> p> > 2009/10/14 11:18:19 [notice] 2667#0: signal 17 (SIGCHLD) received
> p> > 2009/10/14 11:18:19 [alert] 2667#0: worker process 2670 exited on signal 
> 9
> p> > 2009/10/14 11:18:19 [notice] 2667#0: start worker process 9686
> p> > 2009/10/14 11:18:19 [notice] 2667#0: signal 29 (SIGIO) received
> p> >
> p> > Linux hunterscash.com 2.6.26-2-amd64 #1 SMP Wed Aug 19 22:33:18 UTC
> p> > 2009 x86_64 GNU/Linux
> p> >
> p> > nginx version: nginx/0.8.20
> p> > configure arguments: --conf-path=/etc/nginx/nginx.conf
> p> > --error-log-path=/var/log/nginx/error.log
> p> > --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock
> p> > --http-log-path=/var/log/nginx/access.log
> p> > --http-client-body-temp-path=/var/lib/nginx/body
> p> > --http-proxy-temp-path=/var/lib/nginx/proxy
> p> > --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug
> p> > --with-file-aio --with-http_stub_status_module
> p> > --with-http_addition_module --with-http_random_index_module
> p> > --with-http_flv_module --with-http_ssl_module --with-http_dav_module
> p> > --with-http_realip_module --with-http_secure_link_module
> p> > --with-http_xslt_module --with-http_addition_module
> p> > --with-http_image_filter_module --with-http_geoip_module
> p> > --add-module=mod_zip-1.1.4
> p> > --add-module=nginx_uploadprogress_module-0.5
> p> > --add-module=nginx_upload_module-2.0.10
> p> >
> p> >        -  5 
> p> >  aio / directio
> p> >   :
> p> >
> p> >  location /video/
> p> >  {
> p> >    internal;
> p> >    root /home/www/beachhunters.com/members/;
> p> >
> p> >    aio       on;
> p> >    directio    1;
> p> >    output_buffers 1 128k;
> p> >
> p> >    set $orig_type 'video';
> p> >    post_action /download_stop;
> p> >  }
> p> >
> p> >   :
> p> >
> p> >  location ~* ^.+\.(avi|wmv|mpg|mpeg|mp4)$
> p> >  {
> p> >    aio       on;
> p> >    directio    1;
> p> >    output_buffers 1 128k;
> p> >
> p> >    root /home/fhg;
> p> >    if ($invalid_referer) { return  403; }
> p> >  }
> p>


-- 
Aleksej Besciokov
EMail/JID: proforg@xxxxxxxxxxxx
phone: +7 495 7853149

Attachment: hunterscash.webazilla-nginx_memory-day.png
Description: PNG image

Attachment: hunterscash.webazilla-nginx_status-day.png
Description: PNG image



 




Copyright © Lexa Software, 1996-2009.