AnyEvent::Util::run_cmd "Bad symbol for filehandle"
Marc Lehmann
schmorp at schmorp.de
Mon Aug 18 09:29:30 CEST 2014
On Sat, Aug 16, 2014 at 09:49:31AM +0200, Art Sackett <asackett at gmx.com> wrote:
> It looks like maybe there's a need of error detection after line 607, but I could be
> wrong about that:
>
> EV: error in callback (ignoring): Bad symbol for filehandle at /usr/local/lib/perl/5.14.2/AnyEvent/Util.pm line 610
That means your process is running out of filehandles, which was
immediately caught. There is little to nothing that AnyEvent can do about
this situation, you'd simply have to increase your ulimits or avoid
needing so many fds.
If you mean that the program should have stopped, then you can override
the $EV::DIED callback with a version that exits - by default EV reports
runtime errors and continues.
Lastly, you can use AnyEvent::Strict and/or AnyEvent::Debug for more
diagnosis.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the anyevent
mailing list