Difference between revisions of "Pm.max requests"

From wikieduonline
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]

Advertising: