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

[TSVN] TortoiseSVN is not closing server connections in a timely manner

From: Garrick Olson <Garrick.Olson_at_Aceva.com>
Date: 2004-11-30 23:44:32 CET

It appears the TortoiseSVN client opens connections to the server, and
holds them open until the user closes TortoiseSVN.

Here is the recipe:

1. Right click on a working copy, and select TortoiseSVN --> Show Log
2. I now see two connections established with the server
   - Sometimes I see only one connection at this point
   - If I stop at this point, it appears the connections remain
indefinitely
3. Select a revision, and double click on one of the files modified (to
open diff tool)
4. I now see two *additional* connections established with the server
(total of four)
5. Close the diff tool
6. Notice no connections are closed (still four connections established)
7. Repeat steps 4 & 5 to create as many established connections as you
please
8. Close the log window
9. I now see all connections get closed

These connections tend to pile up on the server, and seem to consume
quite a bit of memory. With a large team, the server eventually runs out
of resources and starts failing to service clients.

If TortoiseSVN is keeping the connection open for performance, I would
expect it to keep one connection open and reuse it, right? Otherwise,
why not close the connections immediately to free up server resources?

I am using SVN 1.1.1 svnserve on XP, and TortoiseSVN 1.1.1 build 1857
UNICODE on XP.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Nov 30 23:45:32 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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