Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: IO::Select and correct way to detect client crashed?

by flexvault (Parson)
on Oct 18, 2012 at 21:47 UTC ( #999825=note: print w/ replies, xml ) Need Help??


in reply to Re: IO::Select and correct way to detect client crashed?
in thread IO::Select and correct way to detect client crashed?

BrowserUk,

I apologize! Your code does work and that is why I linked to your code to show the world and you, that my 'changes' are mine, but still giving you credit for the initial code that put me in the right direction.

That said, the above code works 100% in non-treading environment for 14 days plus with 64 clients with 16 cores at 100%. But with Perl threads on AIX and Linux, I haven't been able to keep the threaded code running for more than a day. I suspect the underlining thread libraries may be the problem or it's my lousy code.

I'm looking for a solution with 'IO::Select' until I find the problem with my treaded code. Again I apologize.

"Well done is better than well said." - Benjamin Franklin


Comment on Re^2: IO::Select and correct way to detect client crashed?
Re^3: IO::Select and correct way to detect client crashed?
by BrowserUk (Pope) on Oct 19, 2012 at 03:05 UTC
    I'm looking for a solution with 'IO::Select' until I find the problem with my treaded code.

    FWIW: to the best of my ability to determine, the latest version of IO::Select is simply broken. Whether this is confined to my platform or is universal I have no way to know.

    I'd much rather look at fixing your threads problem than working with IO::Select.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-07-13 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (251 votes), past polls