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+PHP] Segmentation Fault가 발생할 경우

    Date2012.07.27 ByADMINPLAY Views47858
    Read More
  2. Apache 웹페이지 한글깨짐, AddDefaultsCharset 설정

    Date2009.01.03 ByADMINPLAY Views30525
    Read More
  3. 서비스 제한측면의 아파치 활용 예제

    Date2012.06.26 ByADMINPLAY Views30338
    Read More
  4. make[2]: *** [htpasswd] 오류 1 , make[1]: *** [all-rec...

    Date2009.08.07 ByADMINPLAY Views27125
    Read More
  5. *** glibc detected *** double free or corruption (!pre...

    Date2010.05.03 ByADMINPLAY Views26748
    Read More
  6. AWSTATS 설치

    Date2008.12.25 ByADMINPLAY Views23878
    Read More
  7. Address already in use: make_sock:could not bind to ad...

    Date2009.01.10 ByADMINPLAY Views23803
    Read More
  8. apache cronolog를 이용한 Apache Log File 날짜 별로 생...

    Date2012.01.16 ByADMINPLAY Views23521
    Read More
  9. Apache mod_deflate

    Date2012.01.16 ByADMINPLAY Views23400
    Read More
  10. apache, tomcat 가상디렉토리 설정

    Date2010.09.17 ByADMINPLAY Views23007
    Read More
  11. APM 기본설치후 아파치 실행에러 httpd: Could not determ...

    Date2009.08.08 ByADMINPLAY Views21879
    Read More
  12. Unclean shutdown of previous Apache run?

    Date2009.08.05 ByADMINPLAY Views21799
    Read More
  13. Apache: client denied by server configuration

    Date2010.10.25 ByADMINPLAY Views21669
    Read More
  14. mod_deflate 설정

    Date2011.03.18 ByADMINPLAY Views21241
    Read More
  15. apache 외부링크 차단

    Date2010.08.31 ByADMINPLAY Views21225
    Read More
  16. [LINUX] Apache 2.2 + mod jk 1.2 + Tomcat 5.x 연동

    Date2009.05.07 ByADMINPLAY Views21041
    Read More
  17. 아파치에서 멀티도메인 설정 방법

    Date2012.10.09 Byl2zeo Views20994
    Read More
  18. Apache 로그레벨의 종류

    Date2012.01.16 ByADMINPLAY Views20858
    Read More
  19. APM + Snort + ADODB + BASE + oinkmaster 설치

    Date2010.05.29 Byl2zeo Views20820
    Read More
  20. 리눅스 개인계정 로딩시 틸드(~)기호없이 그냥 사용

    Date2010.09.22 ByADMINPLAY Views20688
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234