[cups.general] Sense and nonsense of RIPCache

Till Kamppeter till.kamppeter at gmail.com
Tue Jul 27 07:46:41 PDT 2010


On 07/27/2010 04:16 PM, Gene Heskett wrote:
> It appears some distros are already doing this Till, I cannot grep for
> RIPCache in my /etc/cups directory.  And cups is reported to be:
>
> cups-1.4.4-3pclos2010
>
> This is PClinuxOS-2010-7 in 32 bit mode.
> And so far it has 'just worked' most of the time.
>

Note that if RIPCache is not set in cupsd.conf that it is then set to 8 
MB (1/4 of system RAM under Debian/Ubuntu) by the upstream code of CUPS. 
See scheduler/conf.c. The environment variable RIP_MAX_CACHE is always 
set, seescheduler/job.c.

The only way to override the RIPCache facility of CUPS is

cupsctl RIPCache=auto

Filters using the RIP_MAX_CACHE environment variable expect a number and 
optionally a unit and so they fall back to their own default with this 
setting. Then one could modify Ghostscript to simply fall back to 
Ghostscript's method instead of 8 MB if RIP_MAX_CACHE does consist of 
number and unit.

    Till





More information about the cups mailing list