Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-02-24 15:08 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (310 votes). Check out past polls.