[cups.bugs] [MOD] STR #2988: Polling busy loop

twaugh.redhat twaugh at redhat.com
Wed Nov 5 10:34:05 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Very rarely (but twice now) I've seen cupsd stuck in a busy loop. 
Examining it with a debugger reveals:

poll() returned 1

the only pfd with revents has its read_cb callback called

this is a localhost connection over /var/run/cups/cups.sock

con->state == HTTP_POST_SEND

cupsdReadClient() therefore never reads from the descriptor

...and so we loop again

I haven't figured out why this occurs.

Link: http://www.cups.org/str.php?L2988
Version: 1.3.9





More information about the cups mailing list