-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snmp backend can be very slow #1737
Comments
CUPS.org User: mike We actually are timing it out early - the normal TCP connection timeout is 5 minutes (300 seconds). The try_connect() function in snmp.c uses a 1 second alarm to abort the connection early... The strace output showed a 12 second run time - on the long side for sure, but not out of the question on a large network. Can you ask the user to do the following with that printer turned on:
and post the results? |
CUPS.org User: twaugh.redhat Got two logs back, from different people: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=130593 |
CUPS.org User: mike Sigh, it is the Kyocera printers that are causing all this trouble. There is another STR (1790) with similar problems... At this point I'm not sure what we're going to do, but it won't be addressed in 1.2.2... |
CUPS.org User: mike Please try the attached snmp.c and let me know if it fixes the problem. If not, please attach the new output from this version... Thanks! |
CUPS.org User: mike This STR has not been updated by the submitter for two or more weeks and has been closed as required by the CUPS Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR. |
Version: 1.2.1
CUPS.org User: twaugh.redhat
With some devices, the snmp backend gets stuck in connect() for 10 seconds at a time. Example (includes strace -t log):
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193093
Do we need to let that time out on its own, or should we time it out earlier?
The text was updated successfully, but these errors were encountered: