RE: [Zope-dev] Sporadic IOErrors...?

2003-04-06 Thread Bjorn Stabell
Thanks Shane.

This sounds very plausible.  I seem to recall that we started it in
debug mode, then disowned the process and exited.  That probably caused
debug to stdout to create this kind of error.  Now we should be able to
find the underlying error that caused it to try to write the error to
the first place. :)

 -Original Message-
 From: Shane Hathaway [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 04, 2003 23:41
 To: Bjorn Stabell
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Zope-dev] Sporadic IOErrors...?
 
 
 Bjorn Stabell wrote:
  Hi Zope gurus,
  
  After upgrading to Zope 2.6.1 on Linux, when submitting forms, we 
  sometimes get this error:
  
  Site Error
  ...
  exceptions.IOError
  ...
  Traceback:
  Module ZPublisher.Publish, line 150, in publish_module
  Module ZPublisher.Publish, line 114, in publish
  Module Zope.App.startup, line 149, in zpublisher_exception_hook
  Module Products.SiteErrorLog.SiteErrorLog, line 195, in raising
  Module Products.SiteErrorLog.SiteErrorLog, line 206, in
  _do_copy_to_zlog
  Module zLOG, line 130, in LOG
  Module ZLogger.ZLogger, line 16, in log_write
  Module ZLogger.stupidFileLogger, line 27, in __call__
  Module ZLogger.stupidFileLogger, line 90, in stupid_log_write
  IOError: [Errno 5] Input/output error
  ...
  
  It's terrible hard to debug as it happens sporadically, not 
  consistently, and we don't get any more debug info than this.  Even 
  worse, we have a standard-error-message that emails errors 
 to us, but 
  it fails to do anything in this case.  Any ideas what could 
 be wrong 
  and how to troubleshoot better?  The disks have plenty of 
 free space; 
  after restarting, or waiting a while, things work again.
 
 This usually means Python is trying to write to stdout or stderr and 
 failing because stdout/stderr don't go anywhere.  Make sure 
 you have a 
 log file configured (using the EVENT_LOG_FILE environment variable, 
 rather than the old STUPID_LOG_FILE).
 
 Shane
 
 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Sporadic IOErrors...?

2003-04-04 Thread Shane Hathaway
Bjorn Stabell wrote:
Hi Zope gurus,

After upgrading to Zope 2.6.1 on Linux, when submitting forms, we
sometimes get this error:
Site Error
...
exceptions.IOError
...
Traceback:
Module ZPublisher.Publish, line 150, in publish_module
Module ZPublisher.Publish, line 114, in publish
Module Zope.App.startup, line 149, in zpublisher_exception_hook
Module Products.SiteErrorLog.SiteErrorLog, line 195, in raising
Module Products.SiteErrorLog.SiteErrorLog, line 206, in
_do_copy_to_zlog
Module zLOG, line 130, in LOG
Module ZLogger.ZLogger, line 16, in log_write
Module ZLogger.stupidFileLogger, line 27, in __call__
Module ZLogger.stupidFileLogger, line 90, in stupid_log_write
IOError: [Errno 5] Input/output error
...
It's terrible hard to debug as it happens sporadically, not
consistently, and we don't get any more debug info than this.  Even
worse, we have a standard-error-message that emails errors to us, but it
fails to do anything in this case.  Any ideas what could be wrong and
how to troubleshoot better?  The disks have plenty of free space; after
restarting, or waiting a while, things work again.
This usually means Python is trying to write to stdout or stderr and 
failing because stdout/stderr don't go anywhere.  Make sure you have a 
log file configured (using the EVENT_LOG_FILE environment variable, 
rather than the old STUPID_LOG_FILE).

Shane

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Sporadic IOErrors...?

2003-04-03 Thread Bjorn Stabell
Hi Zope gurus,

After upgrading to Zope 2.6.1 on Linux, when submitting forms, we
sometimes get this error:

Site Error
...
exceptions.IOError
...
Traceback:
Module ZPublisher.Publish, line 150, in publish_module
Module ZPublisher.Publish, line 114, in publish
Module Zope.App.startup, line 149, in zpublisher_exception_hook
Module Products.SiteErrorLog.SiteErrorLog, line 195, in raising
Module Products.SiteErrorLog.SiteErrorLog, line 206, in
_do_copy_to_zlog
Module zLOG, line 130, in LOG
Module ZLogger.ZLogger, line 16, in log_write
Module ZLogger.stupidFileLogger, line 27, in __call__
Module ZLogger.stupidFileLogger, line 90, in stupid_log_write
IOError: [Errno 5] Input/output error
...

It's terrible hard to debug as it happens sporadically, not
consistently, and we don't get any more debug info than this.  Even
worse, we have a standard-error-message that emails errors to us, but it
fails to do anything in this case.  Any ideas what could be wrong and
how to troubleshoot better?  The disks have plenty of free space; after
restarting, or waiting a while, things work again.

Regards,
-- 
Bjorn Stabell [EMAIL PROTECTED]
Tel +86 (10) 65918490

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )