Welcome! Log In Create A New Profile

Advanced

Re: Не работает reload

raven_kg@megaline.kg
November 02, 2018 03:04AM
В сторону systemd, если он есть. В /etc/systemd/system/ создать каталог
nginx.service.d, в который положить rlimit_nofile.conf со сл. содержимым:

[Service]
LimitNOFILE=65536

и systemctl daemon-reload

02.11.2018 13:00, zxek пишет:
> Добрый день.
>
> Колво активных сайтов выросло и точно такая же ситуация.
> при reload в журнал пишется
> 2018/11/02 11:55:11 [emerg] 1615#1615: open()
> "/var/www/httpd-logs/*.ru.access.log" failed (24: Too many open files)
>
> в настройках nginx
> ===
> user www-data;
> worker_processes 16;
>
> worker_rlimit_nofile 200000;
>
> error_log /var/log/nginx/error.log warn;
> pid /var/run/nginx.pid;
>
> events {
> #-worker_connections 10000;
> worker_connections 5120;
> multi_accept on;
> use epoll;
> }
> ===
>
> # ulimit -a
> core file size (blocks, -c) 0
> data seg size (kbytes, -d) unlimited
> scheduling priority (-e) 0
> file size (blocks, -f) unlimited
> pending signals (-i) 64232
> max locked memory (kbytes, -l) 64
> max memory size (kbytes, -m) unlimited
> open files (-n) 300000
> pipe size (512 bytes, -p) 8
> POSIX message queues (bytes, -q) 819200
> real-time priority (-r) 0
> stack size (kbytes, -s) 8192
> cpu time (seconds, -t) unlimited
> max user processes (-u) 64232
> virtual memory (kbytes, -v) unlimited
> file locks (-x) unlimited
>
> кто может подсказать, в какую сторону смотреть?
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?21,179057,281770#msg-281770
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru


_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Не работает reload

SergeyZh February 28, 2011 04:31AM

Re: Не работает reload

Alex Vorona February 28, 2011 04:46AM

Re: Не работает reload

Gena Makhomed February 28, 2011 04:52AM

Re: Не работает reload

SergeyZh February 28, 2011 05:05AM

Re: Не работает reload

Igor Sysoev February 28, 2011 07:46AM

Re: Не работает reload

SergeyZh February 28, 2011 08:33AM

Re: Не работает reload

Igor Sysoev February 28, 2011 08:48AM

Re: Не работает reload

SergeyZh February 28, 2011 09:03AM

Re: Не работает reload

SergeyZh February 28, 2011 09:29AM

Re: Не работает reload

Igor Sysoev February 28, 2011 09:08AM

[PATCH] увеличение NGX_DEFAULT_RLIMIT_NOFILE с 1024 до (40 * 1024)

Gena Makhomed February 28, 2011 01:16PM

Re: [PATCH] увеличение NGX_DEFAULT_RLIMIT_NOFILE с 1024 до (40 * 1024)

Igor Sysoev February 28, 2011 03:44PM

[PATCH] параметр --rlimit-nofile=COUNT для конфигурирования, по умолчанию 4096

Gena Makhomed March 01, 2011 07:26AM

Re: [PATCH] увеличение NGX_DEFAULT_RLIMIT_NOFILE с 1024 до (40 * 1024)

Kirill A. Korinskiy February 28, 2011 05:16PM

[PATCH] параметр --rlimit-nofile=COUNT для конфигурирования, по умолчанию 4096

Gena Makhomed March 01, 2011 07:38AM

Re: Не работает reload

zxek November 02, 2018 03:00AM

Re: Не работает reload

raven_kg@megaline.kg November 02, 2018 03:04AM

Re: Не работает reload

zxek November 02, 2018 03:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
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