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

Re: LPRng and LaserWriter 8.7.1 Very Slow



On 3/26/03 8:25 PM, "Marc Wilson msw-at-cox.net |Debian Maling List|"
<uyerhce4sk0t@sneakemail.com> wrote:

> I've done it, but don't have any insights to offer, I'm afraid.  For my OS
> X box (iBook), it was just a question of pointing to the queue on the Linux
> box.  For my OS 9 box (PMac 6100/66 w/ G3), it was about the same.

Do you remember what version of LPRng you were using? I read on the LPRng
list archives, that 3.8.4 had problems with Mac clients that 3.8.1 didn't
have. I'm running 3.8.10.


> What is LPRng *doing* while it's trying to spool this job?  Waiting on a
> filter?  It sounds like it's not the daemon having the problem, but a
> filter, since if you set up a bounce queue things spool immediately.
> 
> Just an idea.

That's a good idea. I'm trying to figure that out myself. The logging and
debugging features don't seem to be the easiest to use. Now as far as
filters go, I didn't include an "if" or "of" entry in my printcap file, but
I do have the magicfilter package installed. Are you suggesting that it's
waiting on a default filter like /usr/lib/lprng/filters/lpf ?

I was able to get logging going for awhile, and this is what I found in
/var/spool/lpd/remote/log

22:25:08.992 hn [675] (Server)  lp: Update_spool_info: file 'control.pr'
22:25:08.995 hn [675] (Server)  lp: Do_queue_jobs: printable 0, held 0, move
0, err 1, done 0
22:25:08.995 hn [675] (Server)  lp: Do_queue_jobs: after Scan_queue next fd
5
22:25:08.996 hn [675] (Server)  lp: Get_hold_file: checking on 'hfA292'
22:25:08.996 hn [675] (Server)  lp: Do_queue_jobs: MAIN LOOP
22:25:08.996 hn [675] (Server)  lp: Do_queue_jobs: Susr1 before scan 0
22:25:08.997 hn [675] (Server)  lp: Remove_done_jobs: checking for removal -
remove_count 1
22:25:08.997 hn [675] (Server)  lp: Get_hold_file: checking on 'hfA292'
22:25:08.998 hn [675] (Server)  lp: Get_hold_file: checking on 'hfA292'
22:25:08.999 hn [675] (Server)  lp: Do_queue_jobs: job_to_do -1,
use_subserver -1, working 0
22:25:08.999 hn [675] (Server)  lp: Do_queue_jobs: nothing to do
22:25:11.008 hn [675] (Server)  lp: Do_queue_jobs: Susr1 at end 0
22:25:11.008 hn [675] (Server)  lp: cleanup: done, exit(0)

I deleted the date stamp (but not the time stamp) and substituted "hn" for
my host name to make the lines fit a little better. This sequence of
messages was repeated many times, each set occurring ten minutes after the
previous. In addition, it took about 3 minutes from the time the job showed
up in lpq to the time the log file started.

This sequence is much the same as the example provided in the HOWTO, except
my file has the part "err 1" in line 2 and has lines 4, 8 and 9, which
contain "checking on 'hfA292'".

You mentioned that I setup a bounce queue. I hope I did. I didn't specify
the force_localhost option, and I'm still trying to figure out if I should.

Thanks for your help. It's getting really late. Maybe in the morning I'll
have more info.

Peter



Reply to: