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 ?