|Subject:||SVN::Client appears to bleed open files|
I apologize in advance for the crappiness of this bug report; I wiped the exact error off my screen in my haste to get a needed process running again. When/if it happens again (seemingly in about 2 days) I will add it to this ticket. Basically, I think SVN::Client is bleeding open files. I'm holding an instance of it inside an object inside a long-running process which checks repositories for updates every few minutes. After between 2 and 3 days it consumes all available file descriptors and just starts throwing the same error over and over again. The error says "too many open files", and some other boilerplate-looking stuff which, as described above, I neglected to transcribe. My usage is pretty simple. There's one of these calls: $ctx->info($loc, undef, $rev, \&update_helper, 0); which is the one that happens every few minutes, and then one of these $newrev = $ctx->update($wc, 'HEAD', 1) which happens *far* less frequently.