[Bioperl-l] issue with closing tempfile and bl2seq

Samuel Andersson samuel at thep.lu.se
Thu Mar 6 09:48:44 EST 2003


Create the factory only once and then on the reports call _io_cleanup().
Not a nice solution, but should work until the bug is fixed.

But watch your memory, the close bug are there because of a memory leak.
So if you get out of memory you have to write your own code or wait for
the bug fix.

/Sammy

> Hi Ewan,
>
> I hate to say it...but I am still having problems with tempfiles not
> closing properly when running bl2seq in StandAloneBlast.pm (even after
> adding in the WrapperBase.pm module).  I get a new error, but the same
> basic concept.  Too many open files... Any ideas?
>
> -Bonnie
>
> Error in tempfile() using /tmp/XXXXXXXXXX: Could not create temp file
> /tmp/uIUPLezeBx: Too many open files at
> /usr/lib/perl5/site_perl/5.6.1/Bio/Root/IO.pm line 614



More information about the Bioperl-l mailing list