Welcome! Log In Create A New Profile

Advanced

nginx кушает cpu после reload

November 26, 2010 09:26AM
после

/usr/local/etc/rc.d/nginx reload

начинается вот такая беда (reload шлет -HUP мастер процессу):

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
93977 www 1 53 0 52608K 37176K kqread 1 4:00 16.46% nginx
95849 www 1 44 0 49536K 39240K RUN 0 0:20 0.98% nginx

старый процесс резко начинает кушать cpu до 50% (когда как, бывает и больше), потихоньку со временем уменьшая свои апетиты, что занимает десятки минут.

nginx.conf:

user www;
worker_processes 1;

#error_log /home/logs/error_log.nginx;
error_log /home/logs/error_log.nginx error;

#pid logs/nginx.pid;

events {
worker_connections 65536;
use kqueue;
}

http {
include mime.types;
default_type application/octet-stream;
index index.html index.htm;

server_names_hash_max_size 4096;
server_names_hash_bucket_size 64;

output_buffers 1 256k;
read_ahead 1m;
aio sendfile;
sendfile on;
sendfile_max_chunk 128k;
#gzip on;
tcp_nopush on;
tcp_nodelay on;
#keepalive_timeout 0;
keepalive_timeout 5;
reset_timedout_connection on;

open_file_cache max=10000;

include vhost.conf.add;
include vhost.conf;
}

версия nginx 0.8.53 c обоими патчами для aio+limit_rate
Subject Author Posted

nginx кушает cpu после reload

zuborg November 26, 2010 09:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready