Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 (Monsignor) 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]
[Discipulus]: good morning monks, but what a day is preparing..

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-06-23 07:36 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (536 votes). Check out past polls.