Difference between revisions of "Pm.max requests"

From wikieduonline
Jump to navigation Jump to search
(Created page with " ; 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...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{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
 
  ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
 
  ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
 
  ; Default Value: 0
 
  ; Default Value: 0
Line 6: Line 10:
  
  
 +
[[PHP pm]]
 +
[[systemctl restart php7.2-fpm.service]]
  
 +
== See also ==
 
* {{PHP-fpm}}
 
* {{PHP-fpm}}
 
* {{PHP}}
 
* {{PHP}}
 +
 +
[[Category:PHP]]

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: