cups fails to print multiple >140Mb files
Bug #114017 reported by
Arno Peters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cupsys
After I send a large (> 140Mb) file through CUPS any large file I send after that will fail to print with the warning:
Request entity too large
I need to restart cupsys in order to send another large file.
To reproduce:
header: printer header
large_file: file > 140Mb
other_file: file > 140Mb
$ cat header large_file | lp -d DestinationPrinter -o raw
request id is DestinationPrin
$ cat header other_file | lp -d DestinationPrinter -o raw
Request entity too large
The printer in question uses the LPR protocol to receive the information.
Changed in cupsys: | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
Do you have
LimitRequestBody
or
MaxRequestSize
set in your /etc/cups/ cupsd.conf? If so, set them to a higher value (or zero for no limitation) and restart CUPS. If they are not set, do not modify /etc/cups/ cupsd.conf.
Check also the free disk space with
df -h
Are the partitions containing /var and /tmp nearly full? Perhaps CUPS leaves a temporary file after printing the job and cleans it only up when CUPS is restarted.
Please attach your /etc/cups/ cupsd.conf.