Nginx CPU Issue : Remain at 100%
Yogesh Sharma
yks0000 at gmail.com
Fri Sep 29 11:38:58 UTC 2017
Team,
I am using nginx as Reverse proxy, where I see that once CPU goes up for
Nginx it never comes down and remain there forever until we kill that
worker. We tried tweaking worker_processes to number of cpu we have, but it
did not helped.
Any suggestion in this regards will help.
*Version:* nginx-1.10.1-1.el6
Below is the config:
user nginx;
worker_processes 2;
pid /var/run/nginx.pid;
worker_rlimit_nofile 65535;
events {
worker_connections 15000;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format xxxxxxxxx';
sendfile on;
server_tokens off;
resolver 127.0.0.1 valid=30s;
resolver_timeout 1s;
keepalive_requests 75;
keepalive_timeout 5 5;
server_names_hash_bucket_size 128;
server_names_hash_max_size 1024;
proxy_buffers 4 32K;
proxy_buffer_size 32k;
proxy_connect_timeout 5s;
proxy_read_timeout 305s;
proxy_set_header Host $http_host;
ignore_invalid_headers off;
underscores_in_headers on;
client_header_buffer_size 15k;
client_body_buffer_size 16K;
client_max_body_size 300M;
send_timeout 305s;
include /etc/nginx/conf.d/*.conf;
}
*Thanks & Regards,Yogesh Sharma*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170929/e9603385/attachment.html>
More information about the nginx
mailing list