Welcome to the Monastery | |
PerlMonks |
Re: Re: 2 problems using sockets perl 5.8 and mod_perl2 on Linuxby rr (Sexton) |
on Jul 01, 2003 at 14:02 UTC ( [id://270472]=note: print w/replies, xml ) | Need Help?? |
Hello, Okay, I grok this and removed the I don't understand why even without checking this the loop spins uncontrolably until it times out (notice the use of Time::HiRes). What I am observing as that this select loop keeps returning, $nf is set to 1, but there is no file descriptor in $eout, nor in $rout set to 1 and the loop just starts over again. This chomps up CPU and degrades the performance so badly I can't use it for it's intended purpose. Is the logic I am using to detect readable or erroring file descriptors perhaps incorrect? Thanks -- rr
In Section
Seekers of Perl Wisdom
|
|