Skip to content

조회 수 14803 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

apache 1.3.x 버전 대를 제외한 (1.3은 max값 1024으로 설정)

apache 2.0.x, apache 2.2.x 에서는 max client 가 기본설정값인 150 으로 설정되어 있습니다.

따라서 max 값을 변경하고자 할 경우 다음과 같이 환경설정 파일에서 수정하면 됩니다.

※ apache 2.0.x, 2.2.x 서버는 worker 방식으로 동작하며, 컴파일시 자동으로 max 값은 패치되어 있습니다.


1. apache 2.0.x

/usr/local/apache/conf/httpd.conf 에서 수정합니다.


〈IfModule worker.c>
StartServers         2
MaxClients         150 -> 1024 or 2048 값으로 수정 (max: 2048)
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25 -> 64 값으로 수정
MaxRequestsPerChild  0
〈/IfModule>

수정후 apache 데몬 재시작


2. apache 2.2.x

먼저 /usr/local/apache/conf/httpd.conf 에서
419번째 줄쯤 Include conf/extra/httpd-mpm.conf 주석해제후 저장합니다.

/usr/local/apache/conf/extra/httpd-mpm.conf 수정합니다.


〈IfModule mpm_worker_module>
    StartServers          2
    MaxClients          150 -> 1024 or 2048 값으로 수정 (max: 2048)
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25 -> 64 값으로 수정
    MaxRequestsPerChild   0
〈/IfModule>


수정후 apache 데몬 재시작


  1. Apache 에서 최대 접속자 수 늘리기

    Date2012.07.30 ByADMINPLAY Views14419
    Read More
  2. AWSTATS 국가별 사용자 분석

    Date2008.12.25 ByADMINPLAY Views14467
    Read More
  3. Tomcat 4 과 Apache 2 연동

    Date2009.06.06 ByADMINPLAY Views14620
    Read More
  4. expires설정으로 브라우저캐시

    Date2009.04.18 ByADMINPLAY Views14665
    Read More
  5. apache log에 그림이미지 파일 로그 안남기기

    Date2009.11.26 ByADMINPLAY Views14669
    Read More
  6. CGI 퍼미션 으로 웹페이지 열리지 않음

    Date2009.01.12 ByADMINPLAY Views14678
    Read More
  7. 브라우저 접속 제한하기

    Date2009.09.30 ByADMINPLAY Views14694
    Read More
  8. apache 2.0.x , 2.2.x 버전대 max client 값 수정시

    Date2008.10.08 ByADMINPLAY Views14803
    Read More
  9. 아파치 데몬이 안 뜰경우

    Date2009.11.26 ByADMINPLAY Views14878
    Read More
  10. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15136
    Read More
  11. 초간단 웹 페이지 로딩시간 체크법

    Date2009.03.17 ByADMINPLAY Views15354
    Read More
  12. Apache 버전확인

    Date2008.12.23 ByADMINPLAY Views15432
    Read More
  13. RedirectMatch (도메인포워딩)

    Date2009.01.23 ByADMINPLAY Views15439
    Read More
  14. 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류

    Date2008.10.07 ByADMINPLAY Views15511
    Read More
  15. 아파치 웹서버 사용 시 무단 링크 방지법

    Date2009.04.03 ByADMINPLAY Views15596
    Read More
  16. 매일 자정에 트래픽 초기화 하기

    Date2009.07.18 ByADMINPLAY Views15671
    Read More
  17. Apache 최적화

    Date2008.11.11 ByADMINPLAY Views15773
    Read More
  18. 아파치 모듈 내용

    Date2008.12.10 ByADMINPLAY Views15911
    Read More
  19. 사이트가 느려지는 현상 점검

    Date2008.10.08 ByADMINPLAY Views15937
    Read More
  20. 아파치 특정폴더에 암호걸기

    Date2008.10.08 ByADMINPLAY Views16037
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234