head of nginx.conf
[root@VKRT083 /home/fish]# cat /usr/local/nginx/conf/new.conf
user fish;
worker_processes 32;
pid logs/nginxnew.pid;
#worker_priority -5;
worker_rlimit_nofile 32000;
events
{
worker_connections 32000;
use kqueue;
}
http
{
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
server_names_hash_bucket_size 512;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
gzip on;
gzip_comp_level 1;
gzip_min_length 1000;
gzip_proxied any;
gzip_disable "MSIE [1-6]\.";
gzip_types application/x-javascript text/plain application/xml;
server_tokens off;
keepalive_timeout 15;
ignore_invalid_headers on;
reset_timedout_connection on;
upstream backend {server 192.168.10.5:11211; keepalive 512 single;}
upstream tycoon0 {server 192.168.10.6:11111; keepalive 512 single;}
upstream tycoon1 {server 192.168.10.7:11111; keepalive 256 single;}