Skip to content

조회 수 14799 추천 수 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. 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류

    Date2008.10.07 ByADMINPLAY Views15507
    Read More
  2. 서비스 동시접속 인원알기

    Date2008.10.07 ByADMINPLAY Views16892
    Read More
  3. 사이트가 느려지는 현상 점검

    Date2008.10.08 ByADMINPLAY Views15933
    Read More
  4. apache 2.0.x , 2.2.x 버전대 max client 값 수정시

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

    Date2008.10.08 ByADMINPLAY Views16032
    Read More
  6. httpd.conf 파일에 대한 설명 / 번역

    Date2008.10.08 ByADMINPLAY Views14196
    Read More
  7. Apache 최적화

    Date2008.11.11 ByADMINPLAY Views15768
    Read More
  8. 아파치 모듈 내용

    Date2008.12.10 ByADMINPLAY Views15905
    Read More
  9. apache log 정리

    Date2008.12.14 ByADMINPLAY Views13527
    Read More
  10. CGI 오류: Premature end of script headers (Internal Se...

    Date2008.12.14 ByADMINPLAY Views14127
    Read More
  11. Apache 버전확인

    Date2008.12.23 ByADMINPLAY Views15428
    Read More
  12. AWSTATS 설치

    Date2008.12.25 ByADMINPLAY Views23681
    Read More
  13. AWSTATS 국가별 사용자 분석

    Date2008.12.25 ByADMINPLAY Views14463
    Read More
  14. 웹페이지에서 한글이 깨지는 현상 막기

    Date2009.01.03 ByADMINPLAY Views16528
    Read More
  15. Apache 웹페이지 한글깨짐, AddDefaultsCharset 설정

    Date2009.01.03 ByADMINPLAY Views30520
    Read More
  16. Address already in use: make_sock:could not bind to ad...

    Date2009.01.10 ByADMINPLAY Views23798
    Read More
  17. CGI 퍼미션 으로 웹페이지 열리지 않음

    Date2009.01.12 ByADMINPLAY Views14674
    Read More
  18. 아파치 2.X 버전에서 mod_cband를 이용한 트래픽관리

    Date2009.01.17 ByADMINPLAY Views19019
    Read More
  19. RedirectMatch (도메인포워딩)

    Date2009.01.23 ByADMINPLAY Views15435
    Read More
  20. 리눅스 APM 소스설치시 에러에 대한 대처

    Date2009.01.30 ByADMINPLAY Views15132
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234