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]

aio


  • To: nginx-ru@xxxxxxxxx
  • Subject: aio
  • From: <nobody.mail@xxxxxxxxx>
  • Date: Thu, 3 Feb 2011 15:35:35 +0300
  • 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; bh=dUmjjp50SCysUTP8WNb14v2+/nQXCCDSEgCzZI+jQ14=; b=uI15Q/wUWLRhVOg+s5REtNqMdLafh5LrB6nB88t5utppbNCjuxTMGLpiwp5uu6RokH 5jTIkHppLWqseBcJ4W3q6TY4WGQxmdswXTm4hXTimWvEFLig/CPEjqbDQwPiNLOh7OFk aRX9SJ2BfZuZtm7rwdf9brW2uqY+03Nei9aCM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=FH3dnhAL7ZLHkuR9vXucIuOqYq5QMwa9/NR1xKlLgOjgDMH17Lr+vtuJ6a9K+3iQVq aTjqSpEBBgSVUnC3JWj5y/ztY1q/We6BV4aocE0SglGgjmo7VFC9rqxG2cPgwDmMSVrx pJrIP/zpOBVoM7gqs4c/dwUrDKuQXoFgk6ivI=

.

aio CLOSED.
- "CLOSED" nginx.

, - FreeBSD 7.x 8.x, amd64.
, "CLOSED" , - .
"" aio, .. ( munin ).
aio , .

> uname -a
> FreeBSD hostname.here 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@xxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC amd64

2 8.1 amd64. nginx 0.8.54 :

> root@hostname:~# nginx -V
> nginx version: nginx/0.8.54
> TLS SNI support enabled
> 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-file-aio --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx-access.log --with-http_addition_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_perl_module --with-http_realip_module --with-http_secure_link_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_xslt_module --with-pcre

nginx - "aio on", .. proxy_cache zfs/raidz.
, .. њkern.maxfiles/kern.maxfilesperproc.

nginx , .. - . :

user nobody nogroup;
worker_rlimit_nofile 10240;
worker_processes 8;

pid /var/run/nginx.pid;

events {
worker_connections 10240;
use kqueue;
}

http {
server_names_hash_bucket_size 64;
include mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] $status "$request" $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main buffer=1m;

sendfile off;
aio on;
server_tokens off;

output_buffers 1 128k;
tcp_nopush on;

keepalive_timeout 15;
tcp_nodelay on;
reset_timedout_connection on;
uninitialized_variable_warn on;
merge_slashes on;

open_file_cache max=1000 inactive=40s;
open_file_cache_valid 60s;
open_file_cache_min_uses 2;
open_file_cache_errors on;

gzip on;
limit_zone one $binary_remote_addr 10m;
limit_zone lz_free $host 16m;

limit_req_zone $combined zone=lrz_two:32m rate=30r/m;
limit_zone lz_one $combined 32m;

open_log_file_cache max=500 inactive=30m valid=10m min_uses=1;

recursive_error_pages on;
proxy_intercept_errors on;

proxy_cache_path /mnt/data/nginx.pages_cache/bla1 levels=1:2 keys_zone=cache-bla1:10m inactive=90d max_size=400g;
proxy_cache_path /mnt/data/nginx.pages_cache/bla2 levels=1:2 keys_zone=cache-bla2:10m inactive=90d max_size=150g;
proxy_cache_path /mnt/data/nginx.pages_cache/bla3 levels=1:2 keys_zone=cache-bla3:10m inactive=30d max_size=10g;

geoip_country /usr/local/share/GeoIP/GeoIP.dat;

<SKIPPED>
}

nginx , .
/, ? workaround?

PS: 0.8.54 (Maxim Dounin) , .. changlelog' 0.8.53. ?

--
,


: +7(928)2961142
icq: 101241013
jabber: nobody.mail@xxxxxxxxx
skype: nobody.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.