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

Re: CLOSE_WAIT

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Sun, 6 Jul 2008 23:21:32 +0200

On Sun, Jul 6, 2008 at 11:12 PM, Matthias Junker
<matthias.junker_at_students.unibe.ch> wrote:
> Hey,
> i'm writing a svn client for subversion which uses the c api directly.
> but i ran into a problem:
> i realized that after a subversion command was successfully executed,
> the tcp connection remains in CLOSE_WAIT mode. this becomes a problem
> when i execute lots of queries which results in a crash of my program (i
> get a Temporary Name Resolution Error, but it it must be because of the
> CLOSE_WAIT connections because this problem appears always when the same
> number of connections are in CLOSE_WAIT mode ). does anyone have any
> idea what i might be doing wrong? or is there a way to manually remove
> these connections?

Are you clearing the pool in which you allocated the connection(s)? If
not, that's your problem: connections automatically get cleaned up
when your clear the pool in which they're allocated.

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-06 23:21:55 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.