Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.

Comment on Re: Coro + LWP freezes
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2015-07-05 07:17 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (60 votes), past polls