[Zope] HTTPServer exception - illegal argument

Niklas Saers niklasmls at saers.com
Tue Oct 19 05:11:48 EDT 2004


Hi all,
after having had Zope up and running for about an hour, it dies with the
following exception. I was wondering if you could point me to common
problems that can result in this? I'm running  it inside a FreeBSD
5.3-BETA jail, using Python 2.3.4 with large stack support, Zope 2.6.2
(CMF 1.3.2) from ports.

All clues would be very helpful. :)

Cheers

   Nik

Traceback (most recent call last):
------
  File "/usr/local/www/Zope/lib/python/Zope/Startup/run.py", line 50, in ?
2004-10-19T09:01:20 ERROR(200) ZServer uncaptured python exception, closing channel <ZServer.HTTPServer.zhttp_channel connected 80.198.
103.30:15408 at 0x882074c channel#: 1 requests:> (socket.error:(22, 'Invalid argument') [/usr/local/lib/python2.3/asyncore.py|write|77]
 [/usr/local/lib/python2.3/asyncore.py|handle_write_event|397] [/usr/local/lib/python2.3/asynchat.py|handle_write|152] [/usr/local/lib/
python2.3/asynchat.py|initiate_send|213] [/usr/local/lib/python2.3/asynchat.py|refill_buffer|200] [/usr/local/www/Zope/lib/python/ZServ
er/Producers.py|more|34] [/usr/local/www/Zope/lib/python/ZServer/medusa/http_server.py|log|292] [/usr/local/www/Zope/lib/python/ZServer
/medusa/logger.py|log|246] [/usr/local/www/Zope/lib/python/ZServer/medusa/resolver.py|resolve_ptr|349] [/usr/local/www/Zope/lib/python/
ZServer/medusa/resolver.py|resolve_ptr|260])
    run()
  File "/usr/local/www/Zope/lib/python/Zope/Startup/run.py", line 19, in run
    start_zope(opts.configroot)
  File "/usr/local/www/Zope/lib/python/Zope/Startup/__init__.py", line 67, in start_zope
    Lifetime.loop()
  File "/usr/local/www/Zope/lib/python/Lifetime.py", line 43, in loop
    lifetime_loop()
  File "/usr/local/www/Zope/lib/python/Lifetime.py", line 53, in lifetime_loop
    asyncore.poll(timeout, map)
  File "/usr/local/lib/python2.3/asyncore.py", line 125, in poll
    write(obj)
  File "/usr/local/lib/python2.3/asyncore.py", line 81, in write
    obj.handle_error()
  File "/usr/local/www/Zope/lib/python/ZServer/medusa/http_server.py", line 440, in handle_error
    asynchat.async_chat.handle_error (self)
  File "/usr/local/lib/python2.3/asyncore.py", line 420, in handle_error
    self.close()
  File "/usr/local/www/Zope/lib/python/ZServer/HTTPServer.py", line 342, in close
    p.more() # free up resources held by producer
  File "/usr/local/www/Zope/lib/python/ZServer/Producers.py", line 34, in more
    getattr(self.logger, self.method)(self.bytes)
  File "/usr/local/www/Zope/lib/python/ZServer/medusa/http_server.py", line 292, in log
    '- %s [%s] "%s" %d %d "%s" "%s"\n' % (
  File "/usr/local/www/Zope/lib/python/ZServer/medusa/logger.py", line 246, in log
    self.logger
  File "/usr/local/www/Zope/lib/python/ZServer/medusa/resolver.py", line 349, in resolve_ptr
    callback
  File "/usr/local/www/Zope/lib/python/ZServer/medusa/resolver.py", line 260, in resolve_ptr
    (self.server, 53)
socket.error: (22, 'Invalid argument')


More information about the Zope mailing list