Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [Subclipse-dev] Excessive use of TCP sockets

subclipse
Discussion topic

Back to topic list

Re: [Subclipse-dev] Excessive use of TCP sockets

Author thhal
Full name Thomas Hallgren
Date 2007-06-14 08:32:45 PDT
Message I'm looking at the source for the JhlClientAdapter class. It uses a
SVNClientSynchronized. That class has a dispose() method. From what I
can see, it never gets called and there's no way for me to get to it.
Could this be the reason why I see so many sockets that are lingering in
TIME_WAIT? We do implicitly create many instances of the client adapter.

- thomas



Mark Phippard wrote:
> On 5/18/07, Thomas Hallgren <thomas at tada dot se> wrote:
>> The subject refers to a Buckminster bug
>> https://bugs.eclipse​.org/bugs/show_bug.c​gi?id=186092 that would like
>> your input on.
>>
>> Buckminster uses several instances of ISVNClientAdapter (one per project
>> that it resolves and eventually downloads). We use the following
>> commands used on the adapter:
>>
>> getList(SVNUrl, SVNRevision, boolean)
>> getContent(SVNUrl, SVNRevision)
>> getDirEntry(SVNUrl, SVNRevision)
>> checkout(SVNUrl, File, SVNRevision, boolean)
>>
>> This seems to result in a lot of TCP sockets lingering in a TIME_WAIT
>> until they are closed due to a timeout. Is there clean-up needed on the
>> ISVNClientAdapter to avoid this? Any other ideas?
>
> Our code lives several layers above something like that. You'd have
> to write some tests that show your problem and take it up with the
> adapter provider, JavaHL or SVNKit.
>
>

« Previous message in topic | 3 of 14 | Next message in topic »

Messages

Show all messages in topic

Excessive use of TCP sockets thhal Thomas Hallgren 2007-05-18 02:05:57 PDT
     Re: [Subclipse-dev] Excessive use of TCP sockets Mark Phippard <markphip at gmail dot com> Mark Phippard <markphip at gmail dot com> 2007-05-18 05:25:06 PDT
         Re: [Subclipse-dev] Excessive use of TCP sockets thhal Thomas Hallgren 2007-06-14 08:32:45 PDT
             Re: [Subclipse-dev] Excessive use of TCP sockets Mark Phippard <markphip at gmail dot com> Mark Phippard <markphip at gmail dot com> 2007-06-14 08:37:39 PDT
                 Re: [Subclipse-dev] Excessive use of TCP sockets thhal Thomas Hallgren 2007-06-14 08:45:21 PDT
                 Re: [Subclipse-dev] Excessive use of TCP sockets Alexander Kitaev <Alexander dot Kitaev at svnkit dot com> Alexander Kitaev <Alexander dot Kitaev at svnkit dot com> 2007-06-14 11:44:21 PDT
                     Re: [Subclipse-dev] Excessive use of TCP sockets Mark Phippard <markphip at gmail dot com> Mark Phippard <markphip at gmail dot com> 2007-06-14 11:58:30 PDT
             Re: [Subclipse-dev] Excessive use of TCP sockets Alexander Kitaev <Alexander dot Kitaev at svnkit dot com> Alexander Kitaev <Alexander dot Kitaev at svnkit dot com> 2007-06-14 08:42:57 PDT
                 Re: [Subclipse-dev] Excessive use of TCP sockets thhal Thomas Hallgren 2007-06-14 08:54:10 PDT
                     Re: [Subclipse-dev] Excessive use of TCP sockets Mark Phippard <markphip at gmail dot com> Mark Phippard <markphip at gmail dot com> 2007-06-14 09:56:45 PDT
                     Re: [Subclipse-dev] Excessive use of TCP sockets thhal Thomas Hallgren 2007-06-14 09:57:14 PDT
                         Re: [Subclipse-dev] Excessive use of TCP sockets Mark Phippard <markphip at gmail dot com> Mark Phippard <markphip at gmail dot com> 2007-06-14 09:59:45 PDT
                             Re: [Subclipse-dev] Excessive use of TCP sockets thhal Thomas Hallgren 2007-06-14 10:20:54 PDT
     Re: [Subclipse-dev] Excessive use of TCP sockets Alexander Kitaev <Alexander dot Kitaev at svnkit dot com> Alexander Kitaev <Alexander dot Kitaev at svnkit dot com> 2007-05-21 05:29:51 PDT
Messages per page: