Confirmed sighting of the LPRng eats myCPU bug.
- Craig
----- Forwarded message from KORN Andras <[EMAIL PROTECTED]> -----
On Wed, Jul 19, 2000 at 08:03:18AM +1000, Craig Small wrote:
> I've just uploaded 3.6.20, can you tell me if this still occurs?
It does. I straced the worker lpd; it does the following in an endless loop:
select(8, [7], [], NULL, {0, 0}) = 0 (Timeout)
fcntl(7, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK)
fcntl(7, F_SETFL, O_RDONLY) = 0
time(NULL) = 964047945
time([964047945]) = 964047945
fcntl(7, F_GETFL) = 0 (flags O_RDONLY)
fcntl(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
An obvious and rather primitive semi-solution would be to add a usleep()
somewhere, but I'm sure you can come up with something better.
The above result was obtained with lprng 3.6.20-1.
----- End forwarded message -----
--
Craig Small VK2XLZ GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/ <[EMAIL PROTECTED]>
MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------