Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am maintaining a perl/xs application on windows and we've had a bug report with the error:
"Too many open files"
Digging into the report the user is opening lots of files with the application (many thousands) so it seems that we're not closing the file handle(s) within the application.
I've gone through the code and searched for all places that we open a file in perl (and within XS) and they all seemed to be paired with a close.
I'm stuck:) I don't know what to do next? Is it possible that the error is related to something else? Any tips on how to debug this?
Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Too many open files error on windows
by BrowserUk (Patriarch) on Jan 14, 2014 at 11:08 UTC | |
|
Re: Too many open files error on windows
by marto (Cardinal) on Jan 14, 2014 at 10:43 UTC | |
by Anonymous Monk on Jan 14, 2014 at 11:55 UTC | |
|
Re: Too many open files error on windows
by nikosv (Deacon) on Jan 14, 2014 at 10:50 UTC | |
|
Re: Too many open files error on windows
by GrandFather (Saint) on Jan 14, 2014 at 20:59 UTC | |
by Anonymous Monk on Jan 16, 2014 at 12:44 UTC | |
|
Re: Too many open files error on windows
by Anonymous Monk on Jan 14, 2014 at 11:04 UTC |