in reply to Too many open files error on windows

Probably you already thought of this, but just in case: even if the opens and closes are paired you will run into trouble if you have too many files open concurrently - you open new files while old files are still open. A subtle way that could happen is if you have recursion (perhaps by accident) so check sub calls for that possibility.

True laziness is hard work
  • Comment on Re: Too many open files error on windows

Replies are listed 'Best First'.
Re^2: Too many open files error on windows
by Anonymous Monk on Jan 16, 2014 at 12:44 UTC
    Thanks to all who replied, your suggestions were much appreciated.

    For any one who reads this thread in the future:

    The user's data (once we got a copy) was causing recoverable failures which left file handles open (in XS code).