Re: [JSch-users] Using sessions pool to reuse session and multiple channels.
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2005-02-21 06:09:52
|
Hi, +-From: "Alexander Kitaev" <al...@tm...> -- |_Date: Fri, 18 Feb 2005 14:27:11 +0100 ______ | |Hello Atsuhiko, >> I have a question about this 'pretty responsive server'. Was >> this server very slow without session pooling? |It was slow, because establishing connection (with private key) |took around 2 seconds and it was done for every svn+ssh |operation. The 'slow' server is even more slow, because |establishing ssh connection takes more then 4 seconds with it. Which OS are you using for client program? On linux, Sun's J2SE will use '/dev/random' for generating random numbers by the default. I have heard that, on some environments, its entropy pool is not filled and it will take long time to generate numbers. >> By the way, can you try cvs-ssh plug-in included in Eclipse 3 >> for this slow server? I have not heard such a problem yet from >> Eclipse community. |No I didn't try it but will try. I meant that Eclipse 3 depends on JSch 0.1.16. On JSch 0.1.20, some changes have done on the code for handling channels. Can you downgrade jsch version in your code for testing? Thanks, -- ymnk |