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. (간단한 팁) 우분투에 Apache2 설치하기 ( apt-get )

    Date2012.04.01 By로키 Views17604
    Read More
  2. *** glibc detected *** double free or corruption (!pre...

    Date2010.05.03 ByADMINPLAY Views26743
    Read More
  3. 64bit 시스템에 ssl 설치 후 실행 시 X509_free 오류

    Date2008.10.07 ByADMINPLAY Views15507
    Read More
  4. Address already in use: make_sock:could not bind to ad...

    Date2009.01.10 ByADMINPLAY Views23798
    Read More
  5. apache + oracle (오라클 DB 한글깨짐)

    Date2010.02.24 ByADMINPLAY Views19594
    Read More
  6. Apache - 도메인 포워딩

    Date2010.08.26 ByADMINPLAY Views18807
    Read More
  7. Apache 1.3.12 httpd.conf 파일 한글설명

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

    Date2008.10.08 ByADMINPLAY Views14799
    Read More
  9. Apache 2.2.17 (mod_url 하고 mod_rewrite 충돌)

    Date2011.08.18 ByADMINPLAY Views20396
    Read More
  10. Apache 2.2.21 패치 (mod_proxy_ajp 패치와 apache killer...

    Date2012.01.16 ByADMINPLAY Views19641
    Read More
  11. apache cronolog를 이용한 Apache Log File 날짜 별로 생...

    Date2012.01.16 ByADMINPLAY Views23506
    Read More
  12. Apache expires 설정으로 브라우저 캐시

    Date2013.03.18 Byl2zeo Views11893
    Read More
  13. apache log 정리

    Date2008.12.14 ByADMINPLAY Views13527
    Read More
  14. apache log에 그림이미지 파일 로그 안남기기

    Date2009.11.26 ByADMINPLAY Views14666
    Read More
  15. Apache Make시 /usr/lib/libexpat.so: could not read sym...

    Date2009.08.07 ByADMINPLAY Views17943
    Read More
  16. Apache mod_deflate

    Date2012.01.16 ByADMINPLAY Views23387
    Read More
  17. apache server 2.2, Tomcat5.5 로드밸런싱 및 클러스터

    Date2009.12.10 ByADMINPLAY Views19120
    Read More
  18. Apache Worker 방식의 이해 및 설정법

    Date2012.01.16 ByADMINPLAY Views16955
    Read More
  19. Apache 로그레벨의 종류

    Date2012.01.16 ByADMINPLAY Views20844
    Read More
  20. Apache 버전확인

    Date2008.12.23 ByADMINPLAY Views15428
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234