Apache - mod fcgid - process ID graceful kill fail, sending SIGKILL: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) |
Admin iph (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 18: | Строка 18: | ||
'''IOTimeout''' - ''' максимальный период, таймаут в секундах, который модуль будет ждать при попытке чтения или записи в FastCGI приложение.''' | '''IOTimeout''' - ''' максимальный период, таймаут в секундах, который модуль будет ждать при попытке чтения или записи в FastCGI приложение.''' | ||
− | Из документации: | + | Из документации Apache по mod_fcgid: |
This is the maximum period of time the module will wait while trying to read from or write to a FastCGI application. | This is the maximum period of time the module will wait while trying to read from or write to a FastCGI application. | ||
Note | Note | ||
The FastCGI application must begin generating the response within this period of time. Increase this directive as necessary to handle applications which take a relatively long period of time to respond. | The FastCGI application must begin generating the response within this period of time. Increase this directive as necessary to handle applications which take a relatively long period of time to respond. | ||
+ | |||
+ | Links: | ||
+ | https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidiotimeout |
Текущая версия на 14:17, 29 ноября 2022
Apache - mod fcgid - process ID graceful kill fail, sending SIGKILL
В логах Apache:
[Tue Nov 29 15:03:52.078018 2022] [fcgid:warn] [pid 1468] mod_fcgid: process 9419 graceful kill fail, sending SIGKILL [Tue Nov 29 15:03:52.078024 2022] [fcgid:warn] [pid 1468] mod_fcgid: process 8708 graceful kill fail, sending SIGKILL [Tue Nov 29 15:03:52.078029 2022] [fcgid:warn] [pid 1468] mod_fcgid: process 9408 graceful kill fail, sending SIGKILL [Tue Nov 29 15:03:56.120337 2022] [fcgid:warn] [pid 1468] mod_fcgid: process 9435 graceful kill fail, sending SIGKILL
Решение - поднять лимит IOTimeout (локация конфига для CentOS 7):
# vi /etc/httpd/conf.d/fcgid.conf FcgidIOTimeout 300 # systemctl restart httpd
IOTimeout - максимальный период, таймаут в секундах, который модуль будет ждать при попытке чтения или записи в FastCGI приложение.
Из документации Apache по mod_fcgid:
This is the maximum period of time the module will wait while trying to read from or write to a FastCGI application. Note The FastCGI application must begin generating the response within this period of time. Increase this directive as necessary to handle applications which take a relatively long period of time to respond.
Links:
https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidiotimeout