Hi Imacat,
I use 3.8.3 and I definetely don't see the described behaviour, are you
sure the save_jobs... flag is disabled ?
[printsrv3] ~ $ grep done ~lp/etc/lpd.conf
# Purpose: keep the last NN done jobs for status purposes
# default done_jobs= 1 (INTEGER)
done_jobs= 0
# Purpose: keep done jobs for at most max age seconds
# default done_jobs_max_age= 0 (INTEGER)
# Purpose: save job when done
# default save_when_done@ (FLAG off)
best regards
~christoph
--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY | Phone: 040-8998-2317 *
* - IT - | Fax: 040-8998-4060 *
\* 22603 Hamburg | http://www.desy.de */
On Thu, 19 Dec 2002, imacat wrote:
> Dear all,
>
> I don't know whether someone has reported this. I'm currently using
> LPRng 3.8.19 now. I have tested this from 3.8.3 to 3.8.19, and this
> problem remains.
>
> If I use:
> ==========
> done_jobs= 0
> done_jobs_max_age= 1
> ==========
> then the data files (dfAxxxxx) will not be deleted alone with other
> control files (cfAxxxxx and hfAxxx) after the jobs are done. This will
> not happen if i set done_jobs to 1 or above. If done_jobs > 0, the
> dfAxxxxx, cfAxxxxx and hfAxxx files will be deleted when doing the first
> "lpq" after the job is done. But if done_jobs = 0, only control files
> will be deleted. The data file dfAxxxxx will stay forever.
>
> Is there a simple configuration setting or compilation option to
> solve this? Or is there a patch for this? I tried to hack into the
> code, but I failed. It's a little difficult to trace. Any help would
> be appreciated.
>
> This causes a big problem on our system. My company uses printers
> heavily with a poor print server, due to our budget. We have only about
> 200MB free space on the print server. Its harddisk will be filled up
> every about 3-4 weeks by those remaining done data files. Then nobody
> can print for the harddisk full. Now I use a cron job to remove them
> and free harddisk space every 3 hours. But I think the problem should
> be solved in the codes.
>
> By the way, there's a same problem for ifhp. The done data files
> are left by ifhp, too. But I haven't traced it yet, since my company
> use samba printing without a print filter. I just list it here in case
> that it helps.
>
> I'm using 2 print servers. One is our company server: LPRng 3.8.19,
> Linux 2.4.20, Mandrake 8.1, gcc 3.2, glibc 2.2.4, Intel Pentium 133,
> 32MB ram, 2GB harddisk. The other is my home server: LPRng 3.8.19, ifhp
> 3.5.10, Linux 2.4.20, Debian 3.0r0, gcc 3.2, glibc 2.3.1, Intel Pentium
> III 800, 896MB ram, 20GB harddisk. Both have the same problem.
>
> --
> Best regards,
> imacat ^_*'
> [EMAIL PROTECTED]
> PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt
>
> <<Woman's Voice>> News: http://www.wov.idv.tw/
> Tavern IMACAT's: http://www.imacat.idv.tw/
> TLUG List Manager: http://www.linux.org.tw/mailman/listinfo/tlug
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------