
Apache2 및 mod_fcgid를 사용하여 내 서버에서 FastCGI로 실행되는 Python 스크립트가 있습니다. 최대 5개의 프로세스를 생성하도록 했습니다. 하지만 곧 Apache 로그에 다음과 같은 메시지가 표시됩니다.
[Wed Sep 02 23:16:34 2009] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
[Wed Sep 02 23:16:35 2009] [warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function
그런 다음 Apache는 모든 프로세스가 종료되었음을 인식하지 못하고(최대 5개의 백엔드가 있음) 새 프로세스 생성을 거부하는 것 같습니다.
[Wed Sep 02 23:26:16 2009] [notice] mod_fcgid: /var/www/hacks.og.theinfo.org/picker.fcgi total process count 5 >= 5, skip the spawn request
[Wed Sep 02 23:26:17 2009] [notice] mod_fcgid: /var/www/hacks.og.theinfo.org/picker.fcgi total process count 5 >= 5, skip the spawn request
이 시점에서는 외부 세계의 요청에 응답을 거부합니다. 모두 동일한 Apache 구성을 사용하는 다른 FastCGI에서는 이런 일이 발생하지 않는 것 같습니다.
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
IPCConnectTimeout 20
MaxProcessCount 5
DefaultMaxClassProcessCount 2
DefaultMinClassProcessCount 1
</IfModule>
원인이 무엇인지 아시나요?
답변1
첫 번째 구글 히트데비안 버그일 수 있음을 나타냅니다.