Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^15: PANIC: underlying join failed threded tcp server

by BrowserUk (Pope)
on Oct 24, 2012 at 23:52 UTC ( #1000737=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #    if( threads::list( threads::running ) >= 100 ) {
    #        sendResponse("Session rejected. Too many sessions currently r
    +unning.\n", 101, $client); #just decided 101 should be the retry retu
    +rn code, no reason really
    #        $client->shutdown(2);
    #        $client->close;
    #    }else
  2. or download this
    our $T //= 1000;
    our $R //= 1000;
    $_->join for @threads;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000737]
[chacham]: I'm sure this is old, but i just came across it: If you put a million monkeys at a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.
[LanX]: lol
[Corion]: Woo hoo! A new Auralnauts episode!
LanX mean unfair and funny
[LanX]: but most java code looks like from one million monkey using eclipse. ..

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2018-04-23 16:00 GMT
Find Nodes?
    Voting Booth?