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
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.