Peter Cai wrote:
> It turns out that code in logger.py doesn't consider any IOError, is 
> should I modify the code and add try .. except to every IO operation?

I think we just need to figure out the circumstance of an "illegal seek" and 
change the code to anticipate it.  I'll take a look.

> 
> On Mon, Jan 4, 2010 at 5:30 PM, Peter Cai <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     Hi all,
> 
>     One of my programming running by supervisord stopped working
>     although the process exist.  Then only clue I found is a CRIT
>     message in supervisord's log.  Seems that something wrong happened
>     in logger.py
> 
>     2010-01-04 17:06:35,380 CRIT uncaptured python exception, closing
>     channel <POutputDispatcher at 146869228 for <Subprocess at 146786988
>     with name blf in state RUNNING> (stderr)> (exceptions.IOError:[Errno
>     29] Illegal seek
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/supervisord.py|runforever|241]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/dispatchers.py|handle_read_event|242]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/dispatchers.py|record_output|198]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/dispatchers.py|_log|152]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/loggers.py|info|281]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/loggers.py|log|299]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/loggers.py|emit|194]
>     
> [/usr/lib/python2.4/site-packages/supervisor-3.0a7-py2.4.egg/supervisor/loggers.py|doRollover|203])
> 
> 
>     -- 
>     look to the things around you,the immediate world around you, if you
>     are alive,it will mean something to you ——Paul Strand
> 
> 
> 
> 
> -- 
> look to the things around you,the immediate world around you, if you are 
> alive,it will mean something to you ——Paul Strand
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Supervisor-users mailing list
> [email protected]
> http://lists.supervisord.org/mailman/listinfo/supervisor-users

_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to