[Python-modules-team] Bug#513792: libapache2-mod-wsgi: configuration corruption
William Dode
wilk at flibuste.net
Sun Feb 1 09:54:46 UTC 2009
Package: libapache2-mod-wsgi
Version: 2.3-1.pool
Severity: important
Tags: patch
Using modwsgi as deamon process, on one app it crash periodically
because of a corruption in the configuration, the pythonpath in this
case.
The error log show a corrupted python path :
[Mon Dec 22 07:04:06 2008] [info] mod_wsgi (pid=12221): Attach interpreter ''.
[Mon Dec 22 07:04:06 2008] [info] mod_wsgi (pid=12221): Adding '\x957Q\xb7`\xb51\b\xff\xff\xff\xff\xb8\xb61\b\x02' to path.
It should be :
[Mon Dec 22 06:45:27 2008] [info] mod_wsgi (pid=14608): Adding '/home/web/xxx/pynclude' to path.
The discussion in the group of modwsgi is here :
http://groups.google.com/group/modwsgi/browse_thread/thread/7a7f3ad8745a0e87/f1aa7e7ba6e8ee12?lnk=gst&q=corruption#f1aa7e7ba6e8ee12
Be carrefull that i thought it's because of a bad logrotate, but it was
finally not.
A similar problem is here :
http://code.google.com/p/modwsgi/issues/detail?id=78
The solution (from the author) is to replace 'temp_pool' to 'pool' in
the source file.
I can confirm that this solution work for me since one month.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libapache2-mod-wsgi depends on:
ii apache2 2.2.9-10 Apache HTTP Server metapackage
ii apache2-mpm-worker [apac 2.2.9-10+lenny1 Apache HTTP Server - high speed th
ii apache2.2-common 2.2.9-10+lenny1 Apache HTTP Server common files
ii libc6 2.7-13 GNU C Library: Shared libraries
ii python 2.5.2-3 An interactive high-level object-o
libapache2-mod-wsgi recommends no packages.
Versions of packages libapache2-mod-wsgi suggests:
ii apache2-mpm-worker 2.2.9-10+lenny1 Apache HTTP Server - high speed th
-- no debconf information
More information about the Python-modules-team
mailing list