Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Apache Processes Hung on Socket Issue

by andal (Hermit)
on Jul 04, 2013 at 07:36 UTC ( #1042359=note: print w/replies, xml ) Need Help??

in reply to Apache Processes Hung on Socket Issue

Just guessing. As far as I know, Apache uses multi-threading. With multi-threading signals are not reliable. The signal is delivered to some thread, not to the specific one that waits for it. As result, the alarm won't work because the signal that it has requested is delivered to wrong thread.

Maybe Timeout parameter to IO::Socket::INET uses some other way (for example call to select).

  • Comment on Re: Apache Processes Hung on Socket Issue

Replies are listed 'Best First'.
Re^2: Apache Processes Hung on Socket Issue
by hippo (Abbot) on Jul 04, 2013 at 08:08 UTC

    Actually, Apache 1.3.x which eallenvii is using doesn't use threads. It is very old compared to modern versions of Apache (current version is 2.4.4) which do allow threaded operations.

    I'm actually rather impressed that eallenvii is managing to run RHEL 5 with a newer version of perl and much older versions of Apache and mod_perl. That's quite a combination.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2018-01-20 19:59 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.