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

Re: Apache Processes Hung on Socket Issue

by andal (Hermit)
on Jul 04, 2013 at 07:36 UTC ( [id://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 (Bishop) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1042359]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-04-26 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found