I have an external chooser program that is called for the load balancing
queues. This worked great, when there were less than 10 jobs in the queue.
I tested it for weeks like this.

Now suddenly LPRng has started to send a list of no printers to the
chooser's STDIN even though both serving queues are free. This seem to
happen when there are 20 or more jobs in the load balancing queue. It
continues to send an empty printer list for 2-3 minutes even though both
serving queues are empty. Then finally LPRNg sends a list of the now two
free printers to the script so it can choose.

This effectivly halts any printing for 2-3 minutes. Anyone run into this?
I tried changing chooser_interval from default 10 seconds to 2 seconds,
but difference. It works great when the number of jobs in the load
balancing queue are few.

If I turn off the chooser script and let LPRNG round-robin it works
without problems and jobs are moved to the serving queues without delay.

Suggestions?

Thanks,

  Henrik

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to