WSGI issue...

John Szakmeister john at szakmeister.net
Mon Mar 8 19:42:41 GMT 2010


I'm having a bit of trouble trying to get bzr serving via mod_wsgi
accroding to the new updated docs (thanks to the contributor who wrote
them!).

I keep seeing this whenever bzr tries the smart server:
    [Mon Mar 08 14:34:42 2010] [warn] mod_wsgi (pid=17229): Callback
registration for signal 28 ignored.
    [Mon Mar 08 14:34:42 2010] [warn]   File "/srv/www/bzr.wsgi", line
2, in <module>
    [Mon Mar 08 14:34:42 2010] [warn]     from bzrlib.transport.http import wsgi
    [Mon Mar 08 14:34:42 2010] [warn]   File
"/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py",
line 30, in <module>
    [Mon Mar 08 14:34:42 2010] [warn]     from bzrlib import (
    [Mon Mar 08 14:34:42 2010] [warn]   File
"/usr/lib/python2.5/site-packages/bzrlib/errors.py", line 20, in
<module>
    [Mon Mar 08 14:34:42 2010] [warn]     from bzrlib import (
    [Mon Mar 08 14:34:42 2010] [warn]   File
"/usr/lib/python2.5/site-packages/bzrlib/osutils.py", line 1446, in
<module>
    [Mon Mar 08 14:34:42 2010] [warn]
signal.signal(signal.SIGWINCH, _terminal_size_changed)

What looks like is happening is that the smart server fails s a
result, and it's falling back to just plain HTTP... which is horribly
slow, even on a LAN.  Any ideas?

-John

PS  I can't say that I'm terribly familiar with mod_wsgi... but it
seemed to be the best of the supplied options.



More information about the bazaar mailing list