-
Notifications
You must be signed in to change notification settings - Fork 133
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
Print performance issue using the CUPS with Lexmark UPD driver #616
Comments
We modify the printer's CUPS configuration (cupsd.conf) to enable Keep-Alive for longer connection KeepAlive On But there is no improvement in the performance. We capture the log with debug2 Here is the snippet d [16/Jan/2025:09:06:40 -0500] cupsdRemoveSelect(fd=14) @michaelrsweet could you please check once why this delay is happening. Or any suggestion if you have. |
The users are complaining that with the new printer and new driver, there is a significant delay in printing. They are reporting a 15-20 seconds wait before the jobs will start printing…..
To Reproduce
Install the driver from lexmark.com
https://support.lexmark.com/content/support/en_us/support/download.DRI1000645.html
Create the Print queue using LPD/Socket
Print Test Page
Expected behavior
No delay in printing
System Information:
Additional context
From the logs we have found the delay of 18-24 sec
UPD With LPD
D [07/Jan/2025:11:15:28 -0500] [Client 20] HTTP_WAITING Closing on EOF
D [07/Jan/2025:11:15:28 -0500] [Client 20] Closing connection.
D [07/Jan/2025:11:15:28 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active
clients and dirty files"
D [07/Jan/2025:11:15:28 -0500] PID 88047 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [07/Jan/2025:11:15:28 -0500] [Client 13] Closing because Keep-Alive disabled.
D [07/Jan/2025:11:15:28 -0500] [Client 13] Closing connection.
D [07/Jan/2025:11:15:28 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty
files"
D [07/Jan/2025:11:15:28 -0500] [Client 13] HTTP_WAITING Closing on EOF
D [07/Jan/2025:11:15:28 -0500] [Client 13] Closing connection.
D [07/Jan/2025:11:15:28 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
I [07/Jan/2025:11:15:46 -0500] Saving job.cache...
D [07/Jan/2025:11:15:46 -0500] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [07/Jan/2025:11:16:41 -0500] cupsdAcceptClient: skipping getpeercon()
D [07/Jan/2025:11:16:41 -0500] [Client 13] Accepted from localhost (Domain)
D [07/Jan/2025:11:16:41 -0500] Report: clients=1
D [07/Jan/2025:11:16:41 -0500] Report: jobs=12
D [07/Jan/2025:11:16:41 -0500] Report: jobs-active=0
D [07/Jan/2025:11:16:41 -0500] Report: printers=18
D [07/Jan/2025:11:16:41 -0500] Report: stringpool-string-count=11288
UPD With Socket
D [07/Jan/2025:12:00:05 -0500] [Client 20] HTTP_WAITING Closing on EOF
D [07/Jan/2025:12:00:05 -0500] [Client 20] Closing connection.
D [07/Jan/2025:12:00:05 -0500] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active
clients and dirty files"
D [07/Jan/2025:12:00:05 -0500] PID 101519 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
D [07/Jan/2025:12:00:05 -0500] [Client 13] Closing because Keep-Alive disabled.
D [07/Jan/2025:12:00:05 -0500] [Client 13] Closing connection.
D [07/Jan/2025:12:00:05 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty
files"
D [07/Jan/2025:12:00:06 -0500] [Job 621] Unloading...
D [07/Jan/2025:12:00:30 -0500] cupsdAcceptClient: skipping getpeercon()
D [07/Jan/2025:12:00:30 -0500] [Client 13] Accepted from localhost:631 (IPv4)
I [07/Jan/2025:12:00:30 -0500] Saving job.cache...
D [07/Jan/2025:12:00:30 -0500] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [07/Jan/2025:12:00:30 -0500] [Client 13] GET /printers/LASRTN01?which_jobs=completed HTTP/1.0
D [07/Jan/2025:12:00:30 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [07/Jan/2025:12:00:31 -0500] [Client 13] Authorized as svc.ftcupsadm using Basic
D [07/Jan/2025:12:00:31 -0500] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/printers.cgi"
Also attaching the logs
CUPS_LOG.txt
The text was updated successfully, but these errors were encountered: