Re: exceptions
Tilman Sporkert <[email protected]>
| Newsgroups | gmane.comp.java.sshtools.user |
|---|---|
| Message-ID | <[email protected]> |
It has been a while since I actively used sshtools. I mainly used it for port forwarding. We had lots of problems with sshtools in a multi-threaded environment. I ended up strictly not using clients or sessions across threads - each thread had its own client, even when connecting to the same SSH server. For better performance, I kept a pool of clients alive in a pool, and assigned them to threads as needed. Tilman Bernardo F Costa wrote: > All right, it's my turn to question now !! > > Have you, or anyone else you know, worked with > sshtools and threads ? Is is thread safe ? If not, > what problems can occur with threads ? I don't know > whether this is a thread problem but I have seen quite > usually some kinds of exceptions. They are frequently > raised and I don't know the meaning of it. Bad link > connections problems ? Too much waiting or blocking > operations ? If somebody have seen frequently these > messages, please post so we can change some ideas. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV