Package: libapache2-mod-fcgid
Version: 2.0-1
Severity: important
I have the following in /etc/apache2/mods-enabled/fcgid.conf:
--8<--
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
SocketPath /var/lib/apache2/fcgid/sock
IdleTimeout 30
IdleScanInterval 20
ProcessLifeTime 60
IPCConnectTimeout 20
</IfModule>
--8<--
And I have a simple test script:
--8<--
#!/usr/bin/python
import sys, os
def hello(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/html')])
return ['<html><body><p>Hello, World!</p></body></html>\n']
if __name__ == '__main__':
from flup.server.fcgi import WSGIServer
WSGIServer(hello).run()
--8<--
The script works nicely, and I get the "Hello, World" HTML in my browser. But
the script never terminates. It seems that the ProcessLifetime option doesn't
affect anything. I've left the script running for hours but it is never
terminated. Nor does IdleTimeout seem to work.
Or have I misconfigured fcgid?
Thanks,
--
Fabian Fagerholm <[EMAIL PROTECTED]>
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libapache2-mod-fcgid depends on:
ii apache2.2-common 2.2.3-3.1 Next generation, scalable, extenda
libapache2-mod-fcgid recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]