AnyEvent::Fork::RPC broken pipe

Art Sackett asackett at gmx.com
Wed Jun 25 04:37:07 CEST 2014


Greetings:

I apologize for mistakenly spewing a MIME attached HTML message at the list. I'm
an old mutt user and this web based stuff is weird.

> For starters, look at AnyEvent:Fork::RPC::Async, and a bit after the line
> with "microshit windoze" in it, change this:
> 
>    $ww ||= AE::io $wfh, 1, $wcb;
> 
> into this:
> 
>    goto &$done unless $busy;

Thanks! That knocks the error right out. Since making the change I've got eight
consecutive runs that terminated quietly.

In the event that it's relevant: This application is one that fans out in a very
big way, and the one to four broken pipe warnings I was seeing on each run were
less than 0.05% of the total fork count.

-- 
Art Sackett
http://www.artsackett.com/



More information about the anyevent mailing list