Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Coro + LWP freezes

by Corion (Pope)
on Aug 25, 2012 at 23:55 UTC ( #989764=note: print w/replies, xml ) Need Help??

in reply to Coro + LWP freezes

In addition to tye's suggestion, if you reproducibly get a "hung" process, you can try AnyEvent::Debug to look at what parts of it are hung.

Of course, if the process gets hung in (say) the SSLeay libraries, it won't serve the AnyEvent::Debug shell either, but if you're maybe deadlocking somewhere, it might help.

Replies are listed 'Best First'.
Re^2: Coro + LWP freezes
by elgato (Novice) on Aug 26, 2012 at 07:27 UTC
    How would i know it that s SSLeay hanging everything?

      That's just an example. I think it is the most likely candidate for causing trouble if you are actually doing https requests.

      Maybe you can switch to using http URLs for further diagnosis?

        No, i have no options. Need to use https only :( When i was using another programming language that used SSLeay i stopped to use it because of errors with SSLeay when using multithreaded requests.. Any way to switch to another way of dealing with SSL ?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2018-06-23 09:28 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.