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: linux, aio memory usage


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: linux, aio memory usage
  • From: proforg <proforg@xxxxxxxxxxxx>
  • Date: Fri, 16 Oct 2009 22:08:30 +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:content-transfer-encoding; bh=3E/J4DpAggaVexGBzT377UAOMcI2Nikd/X0wvyPHO8w=; b=GNaHj4ecFohgzNrnnM8RwWLc3pffersrpxPmx/CNNkZd1eBguZHm7xRel/j7rBIrwS pqnzaXGyEnPz8s5edLa3rsz3yFbMnjmGWSqJqtHT2G8ruKAv0LQJZNGFPQumVELUpxZ9 twTvbYKUBj6ovJWNvfIZkM6AySNkCkDALmUIE=
  • 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 :content-transfer-encoding; b=dznAZZiDQNCCWObQGFPONwZrVboq6wLypU6L9R1TUujbBgY+l//l847eA3EKhTvAR/ wBofyiQSEct6cdFk2ylXItHueW4MhqM1aVyy/iDcWp4SmfWbmNEW7intTZhiJIrrd6CX 1+nPYyn1Rr5w9Tho1zO7n1DoF66APlDfcNO2s=
  • In-reply-to: <2aed651c0910141534l459f154cn1c9bafac45829d81@xxxxxxxxxxxxxx>
  • References: <2aed651c0910141534l459f154cn1c9bafac45829d81@xxxxxxxxxxxxxx>

, ,     nginx  aio / directio 
  ң  ?
     ?

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



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



 




Copyright © Lexa Software, 1996-2009.