Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Need help with Perl multi threading

by Eliya (Vicar)
on Jan 25, 2012 at 21:13 UTC ( #949967=note: print w/replies, xml ) Need Help??


in reply to Re^2: Need help with Perl multi threading
in thread Need help with Perl multi threading

I suspect your main problem is that you're trying to use the same instance of the SSH connection in all threads.  Creating a new thread doesn't automagically also create a new independent duplicate of the connection (socket, server-side process, and all), so the SSH will probably get mildly confused when multiple clients are talking simultaneously on the same line...

  • Comment on Re^3: Need help with Perl multi threading

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949967]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-11-23 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (336 votes). Check out past polls.

    Notices?