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

Re: Why so many open connections?

From: Michael Pruemm <mpruemm_at_gmail.com>
Date: Thu, 11 Jul 2013 16:04:05 +0000 (UTC)

Branko Čibej <brane <at> wandisco.com> writes:

> No. Pools encapsulate all resource management -- including file handles
> and sockets (connections), not only allocated memory.
>
> This document explains how pools should be used:
>
> http://subversion.apache.org/docs/community-guide/conventions.html#apr-pools
>
> In your example, you should be using an iteration pool.
>

Yes, that's what I did. It was more that I was somehow expecting the "ls3"
connection to be reused instead of always creating a new one.

The document also says:

"Whenever an unbounded iteration occurs, an iteration subpool should be used."

What is considered "unbounded iteration" here? I always thought that "for i
= 1 to N" was considered a bounded loop, and "while (condition)" unbounded.

- Michael
Received on 2013-07-11 18:04:54 CEST

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.