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

Re: Limit on number of consecutive ls's? [SOLVED]

From: <kfogel_at_collab.net>
Date: 2005-02-20 06:57:10 CET

Simon Perreault <nomis80@nomis80.org> writes:
> A quick note to let everyone know that I solved my problem. I finally
> understood the concept of pools (*ducks*) and I understood that my
> script was dying because of the limit of 1024 open files per
> process. The lock file wasn't getting closed because I wasn't using
> a separate pool for the svn_client_ls command. This is how I fixed
> my script:
>
> + lspool = svn.core.svn_pool_create(pool)
> files = svn.client.svn_client_ls( url, revision, 0, ctx, lspool )
> + svn.core.svn_pool_destroy(lspool)
>
> I feel so newbish... ;(

No, don't be embarrassed, this wasn't a particularly obvious bug. I'm
glad you posted the resolution here (maybe we can all keep it in mind
for next time).

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 20 07:23:06 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.