标签:conf 切换 ipv4 方式 get ini client sse init
vi /etc/sysctl_conf net.core.netdev_max_backlog=262144 net.core.somaconn=262144 net.ipv4.tcp_max_orphans=262144 net.ipv4.tcp_max_syn_backlog=262144 net.ipv4.tcp_timestamps=0 net.ipv4.tcp_synack_retries=1 net.ipv4.tcp_syn_retries=1
vi /etc/nginx.conf worker_processes cpu数量或者cpu*2 worker_cpu_affinity 0001 0010 0100 1000 worker_cpu_affinity 0001 0010 0100 1000 0001 0010 0100 1000 worker_cpu_affinity 0000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000
keepalive_timeout 60 50 send_timeout 10s client_header_buffer_size 4k ( getconf PAGESIZE)
;listen = 127.0.0.1:9000 listen = /dev/shm/php-cgi.sock
标签:conf 切换 ipv4 方式 get ini client sse init
原文地址:http://www.cnblogs.com/armo/p/7085970.html