[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Perl bindings using up descriptors

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-11-06 16:44:23 CET

On 10/31/06, bfc0713@verizon.net <bfc0713@verizon.net> wrote:

> Fair enough. It's just that the code to reproduce the problem is so
> simple, it seems that someone else may have hit it. My real code
> to load up subversion is a little more involved of course. But it
> still sets up no callbacks for logging, going through checkin results, etc.
>
> The code below will show one connection after the checkout, and 2
> after the checkin. Anything talking to the repository will add another
> connection (until I'm out of descriptors).

If I had to guess I'd say the problem is that you're allocating
everything in the Perl binding's default pool, so it won't get cleaned
up until the process exits. If you start using subpools that should
help.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 6 16:45:12 2006

This is an archived mail posted to the Subversion Users mailing list.