Workers CPU leak [epoll_wait,epoll_ctl]
vizl
nginx-forum at forum.nginx.org
Fri Mar 4 13:25:43 UTC 2016
user www;
worker_processes 16;
thread_pool default threads=128 max_queue=1024;
worker_rlimit_nofile 65536;
###timer_resolution 100ms;
#error_log /home/logs/error_log.nginx error;
error_log /home/logs/error_log.nginx.debug debug;
events {
worker_connections 30000;
use epoll;
}
http {
include mime.types;
default_type application/octet-stream;
index index.html index.htm;
output_buffers 2 256k;
read_ahead 256k; # was 1m;
aio threads=default;
aio on;
sendfile on;
sendfile_max_chunk 256k;
server {
listen *:80 default rcvbuf=32768 backlog=2048 reuseport deferred;
listen *:443 ssl default rcvbuf=32768 backlog=2048 reuseport deferred;
server_name localhost;
access_log /home/logs/access.log;
error_log /home/logs/error.log warn;
root /mnt;
expires 20m;
location ~ ^/crossdomain.xml { }
location ~ \.[Ff][Ll][Vv]$ {
flv;
}
location ~ \.[Mm][Pp]4$ {
mp4;
}
}
}
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264764,265089#msg-265089
More information about the nginx
mailing list