I doubt that the @files Array is exhausted. So most likely it is my some stuff that is causing the problem. (This is not in a CGI environment. Just a straight script.)
I'm guessing that this is the offending line.
open2(\*GZIP_IN, \*GZIP_OUT, "$gzip -dc -q $outfile$$") or die "cannot
+ open2 $gzip: $!";
Again, this should only be one fork (for the one file that gzip is acting upon). At least I think it should be just one fork. (Obviously it isn't. :) ) |