[Bioperl-l] too many open files

Dominik Gehl gehl@iro.umontreal.ca
Wed, 6 Nov 2002 20:59:33 UT


Hi,

I'm running automated blast queries on sequences in a database using
BioPerl. 
Here's what I would like to do:

for all genes in the database {
   create BioSeq object
   for all mutations for this gene {
       blast2seq(gene, sequence containing mutation)
       analyse :-)
   }
}

Unfortunately, after around 1000 blasts I get the following error message

Error in tempfile() using /tmp/XXXXXXXXXX: Could not create temp file
/tmp/SjdJjECirZ: Too many open files at
/usr/lib/perl5/site_perl/5.6.1/Bio/Root/IO.pm line 473

Did anyone have similar problems ? Any suggestions ?

Thanks a lot,
Dominik