• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue child 27377 exited with code 0 after 27411.172160 seconds from start

Hassaan

Basic Pleskian
Hello,

I recently setup Plesk Onyx on my server. I see these following strange messages in my logs.

[02-Jun-2017 11:06:37] NOTICE: [pool pakhotline.info] child 23017 exited with code 0 after 27138.993114 seconds from start
[02-Jun-2017 11:06:37] NOTICE: [pool pakhotline.info] child 26916 started
[02-Jun-2017 11:06:38] NOTICE: [pool pakhotline.info] child 22776 exited with code 0 after 27146.536491 seconds from start
[02-Jun-2017 11:06:38] NOTICE: [pool pakhotline.info] child 26961 started
[02-Jun-2017 11:06:44] NOTICE: [pool pakhotline.info] child 24004 exited with code 0 after 27119.865891 seconds from start
[02-Jun-2017 11:06:44] NOTICE: [pool pakhotline.info] child 27166 started
[02-Jun-2017 11:06:53] NOTICE: [pool pakhotline.info] child 22924 exited with code 0 after 27157.857476 seconds from start
[02-Jun-2017 11:06:53] NOTICE: [pool pakhotline.info] child 27495 started
[02-Jun-2017 11:06:56] NOTICE: [pool pakhotline.info] child 23683 exited with code 0 after 27141.168205 seconds from start
[02-Jun-2017 11:06:56] NOTICE: [pool pakhotline.info] child 27591 started
[02-Jun-2017 11:06:59] NOTICE: [pool pakhotline.info] child 23747 exited with code 0 after 27142.344930 seconds from start
[02-Jun-2017 11:06:59] NOTICE: [pool pakhotline.info] child 27684 started
[02-Jun-2017 11:07:00] NOTICE: [pool pakhotline.info] child 22852 exited with code 0 after 27165.733705 seconds from start
[02-Jun-2017 11:07:00] NOTICE: [pool pakhotline.info] child 27705 started
[02-Jun-2017 11:07:02] NOTICE: [pool pakhotline.info] child 23226 exited with code 0 after 27158.059775 seconds from start
[02-Jun-2017 11:07:02] NOTICE: [pool pakhotline.info] child 27833 started
[02-Jun-2017 11:07:05] NOTICE: [pool pakhotline.info] child 24491 exited with code 0 after 27128.322927 seconds from start
[02-Jun-2017 11:07:05] NOTICE: [pool pakhotline.info] child 27944 started
[02-Jun-2017 11:07:08] NOTICE: [pool pakhotline.info] child 24132 exited with code 0 after 27140.602180 seconds from start
[02-Jun-2017 11:07:08] NOTICE: [pool pakhotline.info] child 28049 started
[02-Jun-2017 11:07:11] NOTICE: [pool pakhotline.info] child 22869 exited with code 0 after 27176.180594 seconds from start
[02-Jun-2017 11:07:11] NOTICE: [pool pakhotline.info] child 28489 started
[02-Jun-2017 11:07:14] NOTICE: [pool pakhotline.info] child 24209 exited with code 0 after 27144.859961 seconds from start
[02-Jun-2017 11:07:14] NOTICE: [pool pakhotline.info] child 28684 started
[02-Jun-2017 11:07:15] NOTICE: [pool pakhotline.info] child 23678 exited with code 0 after 27160.465726 seconds from start
[02-Jun-2017 11:07:15] NOTICE: [pool pakhotline.info] child 28736 started
[02-Jun-2017 11:07:16] NOTICE: [pool pakhotline.info] child 24258 exited with code 0 after 27145.709770 seconds from start
[02-Jun-2017 11:07:16] NOTICE: [pool pakhotline.info] child 28755 started
[02-Jun-2017 11:07:33] NOTICE: [pool pakhotline.info] child 24230 exited with code 0 after 27163.628041 seconds from start
[02-Jun-2017 11:07:33] NOTICE: [pool pakhotline.info] child 29369 started
[02-Jun-2017 11:07:35] NOTICE: [pool pakhotline.info] child 24943 exited with code 0 after 27147.370619 seconds from start
[02-Jun-2017 11:07:35] NOTICE: [pool pakhotline.info] child 29417 started
[02-Jun-2017 11:07:41] NOTICE: [pool pakhotline.info] child 24767 exited with code 0 after 27158.443162 seconds from start
[02-Jun-2017 11:07:41] NOTICE: [pool pakhotline.info] child 29651 started
[02-Jun-2017 11:07:45] NOTICE: [pool pakhotline.info] child 25012 exited with code 0 after 27155.837508 seconds from start
[02-Jun-2017 11:07:45] NOTICE: [pool pakhotline.info] child 29804 started
[02-Jun-2017 11:07:50] NOTICE: [pool pakhotline.info] child 24912 exited with code 0 after 27163.315803 seconds from start
[02-Jun-2017 11:07:50] NOTICE: [pool pakhotline.info] child 29966 started
[02-Jun-2017 11:07:52] NOTICE: [pool pakhotline.info] child 24829 exited with code 0 after 27167.900634 seconds from start
[02-Jun-2017 11:07:52] NOTICE: [pool pakhotline.info] child 30040 started
[02-Jun-2017 11:07:57] NOTICE: [pool pakhotline.info] child 24926 exited with code 0 after 27170.202789 seconds from start
[02-Jun-2017 11:07:57] NOTICE: [pool pakhotline.info] child 30216 started
[02-Jun-2017 11:08:02] NOTICE: [pool pakhotline.info] child 24923 exited with code 0 after 27175.666085 seconds from start
[02-Jun-2017 11:08:02] NOTICE: [pool pakhotline.info] child 30484 started
[02-Jun-2017 11:08:57] NOTICE: [pool pakhotline.info] child 26907 exited with code 0 after 27173.102722 seconds from start
[02-Jun-2017 11:08:57] NOTICE: [pool pakhotline.info] child 32588 started
[02-Jun-2017 11:24:34] NOTICE: [pool pakhotline.info] child 27377 exited with code 0 after 27411.172160 seconds from start
[02-Jun-2017 11:24:34] NOTICE: [pool pakhotline.info] child 6114 started
[02-Jun-2017 11:25:38] NOTICE: [pool pakhotline.info] child 29488 exited with code 0 after 27434.607111 seconds from start
[02-Jun-2017 11:25:38] NOTICE: [pool pakhotline.info] child 8816 started


I am running PHP-FPM 7 and here is changes I have made with default settings.

emergency_restart_threshold = 10
emergency_restart_interval = 1m
process_control_timeout = 10s
rlimit_files = 999999
rlimit_core = unlimited

I am using CentOS 7 and have 32GB DDR4 ram on server.
 
In this way, information about restarting php-php processes are recorded in the log. They are several and they are restarted according to the timeout.
And they are marked as NOTICE, because in php-fpm.conf by default it is specified:

Code:
; Log level
; Possible Values: alert, error, warning, notice, debug
; Default Value: notice
;log_level = notice
 
In this way, information about restarting php-php processes are recorded in the log. They are several and they are restarted according to the timeout.
And they are marked as NOTICE, because in php-fpm.conf by default it is specified:

Code:
; Log level
; Possible Values: alert, error, warning, notice, debug
; Default Value: notice
;log_level = notice
So should I changed log level into warning instead of notice?
Is their anyway to close useless child before 27434.607111 seconds?
Is my this value is OK? process_control_timeout = 10s
 
Last edited:
If you change log level to warning, you will see errors and warnings, but not notices.
 
If you change log level to warning, you will see errors and warnings, but not notices.
OK Can you please answer my other questions?

Is their anyway to close useless child before 27434.607111 seconds?
Is my this value is OK? process_control_timeout = 10s
 
Last edited:
Processes are exiting and respawning because you have defined pm.max_requests option in your php-fpm configuration file.

For example:

; The number of requests each child process should execute before respawning.
; This can be useful to work around memory leaks in 3rd party libraries. For
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
; Default Value: 0
pm.max_requests = 500

If it is defined as 500 in this example, php-fpm recycles the process after it has processed 500 requests.
Actually, you can ignore these messages because they are harmless and just informational.
 
Back
Top