interrupted system call w/ Queue.get

James Mills prologic at shortcircuit.net.au
Thu Feb 17 20:58:27 EST 2011


On Fri, Feb 18, 2011 at 11:46 AM, Philip Winston <pwinston at gmail.com> wrote:
> We have a multiprocess Python program that uses Queue to communicate
> between processes.  Recently we've seen some errors while blocked
> waiting on Queue.get:
>
> IOError: [Errno 4] Interrupted system call
>
> What causes the exception?  Is it necessary to catch this exception
> and manually retry the Queue operation?  Thanks.

Are you getting this when your application is shutdown ?

I'm pretty sure you can safely ignore this exception and
continue.

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"



More information about the Python-list mailing list