[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#665435: cups: too much memory consumption in default configuration (swaps out, brings print server to a crawl)



Control: tags -1 +wontfix

Le samedi, 24 mars 2012, 01.21:49 Jonathan Nieder a écrit :
> Jonathan Nieder wrote:
> > With "RIPCache 16m" in /etc/cups/cupsd.conf the system seems to be
> > sane again and printing is still working fine.
> 
> I think that might even make a good default.  Alternatively, how about
> this patch (untested)?

There was a patch doing that in Debian packages before 1.5.0 (aka in the 
Squeeze version):

http://patch-tracker.debian.org/patch/series/view/cups/1.4.4-7+squeeze3/default-ripcache-size-auto.dpatch

It got removed in cups 1.5.0 with the following rationale:

 * debian/patches/default-ripcache-size-auto.patch: Dropped, as once,
   Ghostscript 9.04 is ignoring the cache size value as it crashes
   easily otherwise (Ghostscript upstream bug #691586) and second, CUPS
   defaults to more reasonable 128 MB (now only used for imagetops).

Now, 128Mb is arguably a lot of memory, but I think that assuming that 
this much can be allocated is a reasonable expectation that CUPS makes 
there. Also, there is a documented (as you pointed out, in cupsd.conf's 
help) way to modify this value.

I'm therefore hereby marking this bug as +wontfix, with the hope that 
the above rationale satisfies you.

Cheers,

OdyX

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: