반응형
환경 : HP-UX 11.23
설치디렉토리 : /opt/hpws/apache
1. httpd.conf 파일 수정
> vi /opt/hpws/apache/conf/httpd.conf
# ServerLimit: Default Value 16
ServerLimit 24 => 기본 디폴트는 16이고 해당 항목이 명시되어 있지는 않다.
수정할 떄 항목을 만들어줘야 함!
<IfModule worker.c>
StartServers 10
MaxClients 600
MinSpareThreads 25
MaxSpareThreads 150
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
※ maxclient 값 산정 공식 : ServerLimit * ThreadsPerchild
만약 값이 부적절할때는 stop시에 아래와 같은 메세지가 출력된다.
(친절하게 구너장값까지 알려줌..^^;)
> /opt/hpws/apache/bin]./apachectl stop
WARNING: MaxClients of 800 would require 32 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 400. To increase,
please see the ServerLimit directive.
728x90
'IT 이야기 - About IT' 카테고리의 다른 글
HP-UX Admin 1 (Chapter 6-8) (0) | 2008.07.31 |
---|---|
HP-UX Admin 1 (Chapter 9-12) (0) | 2008.07.31 |
[HP-UX] glance adviser 사용하기 (1) | 2008.07.31 |