2015.01.09 12:01

apache2 worker 설정값들

조회 수 544 추천 수 0 댓글 0

출처: http://2ssoosike.tistory.com/258

1) 일일 Access log size 500M 이하 ( 기본설정 )

MaxKeepAliveRequests 1024

< IfModule mpm_worker_module >

   StartServers      8

   ServerLimit       16

   MaxClients      1024

   MinSpareThreads    64

   MaxSpareThreads   512

   ThreadsPerChild   64

   MaxRequestsPerChild  0

< /IfModule >


2) 일일 Access log size 500M ~ 1G 

MaxKeepAliveRequests 2048

< IfModule mpm_worker_module >

   StartServers     16

   ServerLimit      32

   MaxClients      2048

   MinSpareThreads   256

   MaxSpareThreads   1024

   ThreadsPerChild    64

   MaxRequestsPerChild  0

< /IfModule >


3) 일일 Access log size 1G ~ 2G

MaxKeepAliveRequests 4096

< IfModule mpm_worker_module >

   StartServers     8

   ServerLimit      32

   MaxClients      4096

   MinSpareThreads   1024

   MaxSpareThreads   2048

   ThreadsPerChild    128

   MaxRequestsPerChild  0

< /IfModule >


apache 2.4.6 에서는 내용이 달라진 건지 위 설정 내용들 중에 없는 옵션들이 있었다.

그래서 위에 1번 내용을 참고해 아래처럼 수정하였다.

1. httpd-default.conf

MaxKeepAliveRequests 1024


2. httpd-mpm.conf

<IfModule mpm_worker_module>

   StartServers                 8

   ServerLimit                   16

   MinSpareThreads         64

   MaxSpareThreads        512

   ThreadsPerChild          64

   MaxRequestWorkers     1024

   MaxRequestsPerChild   0

</IfModule>




List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 컴퓨터 및 스마트 기기 사용팁 게시판 입니다. 좋은아빠되기 2014.10.15 690
19 centos 7 minimal 설치 교육용 자료 좋은아빠되기 2018.11.17 628
18 centos 6.6 네트워크 설정파일 위치(부팅시 네트워크 자동 연결) 좋은아빠되기 2015.02.03 795
17 centos 6.6 php 5.3.X 5.6.X 컴파일 설치 하기 좋은아빠되기 2015.02.10 2740
16 centos 6.6 mysql 5.1.X 컴파일 설치 하기 좋은아빠되기 2015.02.04 2925
15 centos 6.6 APM 컴파일 설치 준비 작업 좋은아빠되기 2015.02.04 1574
14 CentOS 6.6 APM yum 설치 방법 좋은아빠되기 2015.02.11 1541
13 centos 6.6 apache 2.2.X 설치(httpd) 컴파일 설치 하기 좋은아빠되기 2015.02.09 4590
12 centos 6 저장소 추가 좋은아빠되기 2017.06.03 205
11 centos 6 minimla 설치후 기본 프로그램 설치 (setup 안될때) 좋은아빠되기 2017.05.06 264
10 centos 6 minimal 설치 교육용 자료 좋은아빠되기 2017.08.19 337
9 APMSETUP 7 다운로드 file 좋은아빠되기 2017.07.03 15832
» apache2 worker 설정값들 좋은아빠되기 2015.01.09 544
7 apache 이전버전 다운로드 주소 좋은아빠되기 2015.02.04 1110
6 apache 웹서버 접속시 기본적으로 보여지는 파일 우선순위 설정 좋은아빠되기 2015.02.03 1023
5 apache 웹 서버에서 php 에서 해석(컴파일) 할 파일명 지정 및 추가 좋은아빠되기 2015.02.03 211
4 apache 압축 deflate 테스트 사이트 좋은아빠되기 2015.02.03 206
3 apache 디렉토리 인덱스(인덱싱) 방지 좋은아빠되기 2015.02.03 471
2 apache 동시 접속자수 확인 좋은아빠되기 2015.02.03 482
1 apache mysql 연동시 서버가 한달에? 한번씩 다운된다면?? 1 좋은아빠되기 2015.01.08 166
Board Pagination Prev 1 2 3 Next
/ 3