>> Delete No. 39429 article
No. [질문]아파치의 자식 프로세스 문제로 인한 아파치
문제...

등록 2002-01-11 14:29:00 By localhost     조회 2
이름 김용진    

		아파치와 탐켓을 연동하여 사용중입니다.
 시스템 정보는 SUN 장비인데 확실히 모르겠고,
Solaris 7
Ram 1G
 아파치 설정입니다.
 [기존의 설정]
Time 10
KeepAlive On
MaxKeepAliveRequests 0
MinSpareServers 50
MaxSpareServers 200
StartServers 50
MaxClients 1024
MaxRequestsPerChild 0
 [금일 변경해 본 설정]
Time 10
KeepAlive On
MaxKeepAliveRequests 0
MinSpareServers 50
MaxSpareServers 200
StartServers 50
MaxClients 2048
MaxRequestsPerChild 1000
 웹서버와 디비 서버를 같이 돌리고 있습니다.
 문제시 되는 현상은..
 처음 디비 가동하고 탐켓을 가동한 다음 아파치 가동 이런식으로 순차적으로 하면 아무런
 문제가 없습니다.  아파치를 처음 가동하고 나서 stop start하면 모두 순조롭게 잘되는데 문
제는 3일정도 지났을때 자식프로세스가 줄어들지 않고 계속 늘어난다는거죠..  그래서 너
무 많이 늘어난다 싶어 ./apachectl stop 하게 되면  몇개의 프로세스만 죽고 나머지가 전부 부
모 프로세스가 되더군요.  그래서 kill -9 해도 죽지도 않고...
 error_log내용입니다.
 [Fri Jan 11 10:27:38 2002] [error] could not make child process 4524 exit, attempting to continue an
yway
[Fri Jan 11 10:27:38 2002] [error] could not make child process 4533 exit, attempting to continue an
yway
[Fri Jan 11 10:27:38 2002] [error] could not make child process 4535 exit, attempting to continue an
yway
[Fri Jan 11 10:27:38 2002] [error] could not make child process 5326 exit, attempting to continue an
yway
[Fri Jan 11 10:27:38 2002] [notice] SIGHUP received. Attempting to restart
[Fri Jan 11 10:27:40 2002] [notice] Apache/1.3.22 (Unix) mod_jk configured -- resuming normal operat
ions
[Fri Jan 11 10:27:40 2002] [notice] Accept mutex: fcntl (Default: fcntl)
[Fri Jan 11 10:27:53 2002] [error] [client 210.223.15.102] File does not exist: /home/webadmin/www/k
tg/favicon.ico
[Fri Jan 11 10:27:53 2002] [error] [client 210.223.15.102] File does not exist: /home/webadmin/www/f
avicon.ico
[Fri Jan 11 10:28:33 2002] [warn] child process 7862 still did not exit, sending a SIGTERM
[Fri Jan 11 10:28:38 2002] [error] child process 7862 still did not exit, sending a SIGKILL
[Fri Jan 11 10:28:39 2002] [error] could not make child process 7862 exit, attempting to continue an
yway
[Fri Jan 11 10:28:39 2002] [notice] caught SIGTERM, shutting down
[Fri Jan 11 10:28:59 2002] [crit] (125)Address already in use: make_sock: could not bind to port 80
[Fri Jan 11 10:31:00 2002] [crit] (125)Address already in use: make_sock: could not bind to port 80
 이렇게 되네요..
 한번 봐주시고 답글달아주세요...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved