Perl Monk, Perl Meditation | |
PerlMonks |
Re: Apache Processes Hung on Socket Issueby andal (Hermit) |
on Jul 04, 2013 at 07:36 UTC ( [id://1042359]=note: print w/replies, xml ) | Need Help?? |
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).
In Section
Seekers of Perl Wisdom
|
|