You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matthias Junker <ma...@students.unibe.ch> on 2008/07/06 21:12:22 UTC

CLOSE_WAIT

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?

Cheers
Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: CLOSE_WAIT

Posted by Erik Huelsmann <eh...@gmail.com>.
On Sun, Jul 6, 2008 at 11:12 PM, Matthias Junker
<ma...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org