Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Apache Processes Hung on Socket Issue

by andal (Friar)
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
Re^2: Apache Processes Hung on Socket Issue
by hippo (Deacon) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-07-13 07:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (248 votes), past polls