php-fpm 에서 pm.max_requests 설정 > 개발

본문 바로가기
사이트 내 전체검색

개발

php-fpm 에서 pm.max_requests 설정

페이지 정보

profile_image
작성자 관리자 (61.♡.222.236)
댓글 0건 조회 2,011회 작성일 19-07-12 12:45

본문

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

추천0

댓글목록

등록된 댓글이 없습니다.

Total 386건 8 페이지
  • RSS

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.