Posted on 2009-07-13 19:36:55-07 by stinkingpig
maximum number of files?
Hi, I'm using File::Tail to monitor a lot (between two and three dozen) of files. I'm setting them up like so:
foreach (@logfiles) { push( @files, File::Tail->new( name => "$_", debug => $DEBUG, ignore_nonexistant => 1, tail => 1, ) ); }
Then I come back and do a File::Tail::Select, per the documentation. This appears to work well enough, except that not all of the files are getting monitored. I haven't chased down exactly where it quits adding files yet; is there a known maximum file count?
Direct Responses: 11168 | Write a response
Posted on 2009-07-14 06:49:45-07 by matija in response to 11166
Re: maximum number of files?
I don't remember there being a maximum number of files. Please try to find out what is going on, or at least provide a reliable failing test. Patches welcome...
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.