맛집 여행 캠핑 일상 생활

아파치 RLimitCPU RLimitMEM RLimitNPROC 본문

LAMP

아파치 RLimitCPU RLimitMEM RLimitNPROC

영은파더♥ 2016. 2. 11. 09:31


Apache CPU 제한 옵션 ( 점유율인 줄 알았는데 시간제한인 것 같다. )

RLimitCPU Directive

Description:Limits the CPU consumption of processes launched by Apache children
Syntax:RLimitCPU seconds|max [seconds|max]
Default:Unset; uses operating system defaults
Context:server config, virtual host, directory, .htaccess
Override:All
Status:Core
Module:core


메모리 제한 옵션 ( 제한을 걸면 좋긴하겠지만 메모리를 많이 먹는 부분에서는 에러가 날 것 같다. )

RLimitMEM Directive

Description:Limits the memory consumption of processes launched by Apache children
Syntax:RLimitMEM bytes|max [bytes|max]
Default:Unset; uses operating system defaults
Context:server config, virtual host, directory, .htaccess
Override:All
Status:Core
Module:core


프로세스 갯수 제한 옵션 ( VirtualHost 에서 사용하면 유용할 것 같다.)

RLimitNPROC Directive

Description:Limits the number of processes that can be launched by processes launched by Apache children
Syntax:RLimitNPROC number|max [number|max]
Default:Unset; uses operating system defaults
Context:server config, virtual host, directory, .htaccess
Override:All
Status:Core
Module:core


'LAMP' 카테고리의 다른 글

MySQL group_concat 함수  (0) 2016.02.16
PHP String 과 관련된 함수들  (0) 2016.02.15
아파치 Deflate Expires 설정으로 트래픽 줄이기  (0) 2016.02.05
아파치 mod_cache 설정  (0) 2016.02.05
리눅스 WebDAV 설정하기  (0) 2016.02.05
Trackback : | Comments :