Difference between revisions of "Pm.max requests"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | [[/etc/php/7.*/fpm/pool.d/www.conf]] | ||
+ | |||
; The number of requests each child process should execute before respawning. | ; 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 | ; This can be useful to work around [[memory leaks]] in 3rd party libraries. For | ||
Line 8: | Line 11: | ||
[[PHP pm]] | [[PHP pm]] | ||
+ | [[systemctl restart php7.2-fpm.service]] | ||
== See also == | == See also == |
Latest revision as of 10:07, 2 October 2024
/etc/php/7.*/fpm/pool.d/www.conf ; 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
PHP pm systemctl restart php7.2-fpm.service
See also[edit]
- PHP-fpm,
/etc/php/7.*/fpm/pool.d/, pm., pm.max_children
- PHP,
php-fpm, www.conf
,php -i
, PHP sessions, symfony,fastcgi_pass
,sessionclean (shell script)
,phpsessionclean.service (systemd service),phpquery
,php.ini
,/var/log/php*
, PECL,php --help
, PHPUnit, Laravel, PHP framework, Composer,phpbrew, Xdebug, php --version
, PHP Fatal error, Hello, World! (php)]
Advertising: