Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by flexvault (Monsignor)
on Oct 18, 2012 at 21:47 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: IO::Select and correct way to detect client crashed?
by BrowserUk (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://999825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-19 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found