php-fpm 에서 pm.max_requests 설정
페이지 정보
본문
The number of requests each child process should execute before respwning.
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
메모리 릭 등의 문제가 있을 경우 요청수를 설정할 수 있다.
요청수를 설정하면, 해당 요청수만큼 처리하고 respawn 된다.
기본값은 0 으로 무한요청 처리한다.
아파치 웹서버에도 비슷한 설정이 있다.
apache 2.2
MaxRequestsPerChild
아파치 2.4 에서 위 지시자의 이름이 변경되었다.
apache 2.4
MaxConnectionsPerChild
참고
https://phiz.kr/hosting/10265
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
메모리 릭 등의 문제가 있을 경우 요청수를 설정할 수 있다.
요청수를 설정하면, 해당 요청수만큼 처리하고 respawn 된다.
기본값은 0 으로 무한요청 처리한다.
아파치 웹서버에도 비슷한 설정이 있다.
apache 2.2
MaxRequestsPerChild
아파치 2.4 에서 위 지시자의 이름이 변경되었다.
apache 2.4
MaxConnectionsPerChild
참고
https://phiz.kr/hosting/10265
추천0
댓글목록
등록된 댓글이 없습니다.