[Zope] zope crashes on first hit
Bill Seitz
fluxent@yahoo.com
Tue, 4 Mar 2003 14:35:10 -0800 (PST)
All the sudden my zope (v2.5.1 running on Win98) is
crashing while processing its first hit. This seems
true regardless of the URL requests (manage,
manage_main, index_html), though it's possible I'm
getting 1 hit sometimes before it dies.
I think this has been triggered by an ugly crash
requiring a hard reboot of my machine. I've rebooted
multiple times since then...
Here's what I see in the DOS window:
2003-03-04T18:50:21 ERROR(200) ZServer uncaptured
python exception, closing channel
<ZServer.HTTPServer.zhttp_channel connected
127.0.0.1:1247 at 0x1d59b2c channel#: 0 requests:>
(exceptions.IOError:[Errno 9] Bad file descriptor
[D:\Zope\WebSeitz\ZServer\medusa\asyncore.py|poll|107]
[D:\Zope\WebSeitz\ZServer\medusa\asyncore.py|handle_write_event|398]
[D:\Zope\WebSeitz\ZServer\medusa\asynchat.py|handle_write|146]
[D:\Zope\WebSeitz\ZServer\medusa\asynchat.py|initiate_send|208]
[D:\Zope\WebSeitz\ZServer\medusa\asynchat.py|refill_buffer|195]
[D:\Zope\WebSeitz\ZServer\Producers.py|more|36]
[D:\Zope\WebSeitz\ZServer\medusa\http_server.py|log|289]
[D:\Zope\WebSeitz\ZServer\medusa\logger.py|log|247]
[D:\Zope\WebSeitz\ZServer\medusa\logger.py|log|77]
[D:\Zope\WebSeitz\ZServer\medusa\logger.py|write|53]
[D:\Zope\WebSeitz\ZServer\medusa\logger.py|maybe_flush|65])
Traceback (most recent call last):
File "D:\Zope\WebSeitz\z2.py", line 774, in ?
asyncore.loop()
File
"D:\Zope\WebSeitz\ZServer\medusa\asyncore.py",line
200, in loop
poll_fun (timeout, map)
File "D:\Zope\WebSeitz\ZServer\medusa\asyncore.py",
line 111, in poll
obj.handle_error()
File
"D:\Zope\WebSeitz\ZServer\medusa\http_server.py", line
437, in
handle_err
or
asynchat.async_chat.handle_error (self)
File "D:\Zope\WebSeitz\ZServer\medusa\asyncore.py",
line 421, in
handle_error
self.close()
File "D:\Zope\WebSeitz\ZServer\HTTPServer.py", line
293, in close
p.more() # free up resources held by producer
File "D:\Zope\WebSeitz\ZServer\Producers.py", line
36, in more
getattr(self.logger, self.method)(self.bytes)
File
"D:\Zope\WebSeitz\ZServer\medusa\http_server.py", line
289, in
log
' - %s [%s] "%s" %d %d "%s" "%s"\n' % (
File "D:\Zope\WebSeitz\ZServer\medusa\logger.py",
line 247, in log
self.logger.log ('%s%s' % (ip, message))
File "D:\Zope\WebSeitz\ZServer\medusa\logger.py",
line 77, in log
self.write (message)
File "D:\Zope\WebSeitz\ZServer\medusa\logger.py",
line 53, in write
self.maybe_flush()
File "D:\Zope\WebSeitz\ZServer\medusa\logger.py",
line 65, in
maybe_flush
self.file.flush()
IOError: [Errno 9] Bad file descriptor
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/