Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Apache Processes Hung on Socket Issue

by vsespb (Chaplain)
on Jul 04, 2013 at 09:12 UTC ( #1042398=note: print w/replies, xml ) Need Help??

in reply to Re^2: Apache Processes Hung on Socket Issue
in thread Apache Processes Hung on Socket Issue

Internet is full of recommendations to use SIG ALARM while socket connect, and as far as I remember, socket "Timeout" option was not working right for connection stage (and/or for DNS timeouts). (not sure about current IO::Socket versions, through)

Also SIG ALARM is not affecting socket read/write timeouts happened after alarm(0)

thread being left in a state unable to create further sockets?
Need probably to see more code, what happening after/before eval?
  • Comment on Re^3: Apache Processes Hung on Socket Issue

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2016-10-22 16:23 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (297 votes). Check out past polls.