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

Attachment: msg05045/pgp00000.pgp
Description: PGP signature

Reply via email to