Patrick,

I need a little more explaination on using the chooser option for load
balancing queues.

Prior to 3.6.18 the check_idle option was used in the sub queues. The
check idle processes for each sub queue ran util they detected a change 
in status(busy->idle).

Now using the chooser option, the main queue gets a list of all its
sub queues and checks their status. I've got a chooser script that
checks
the Appsocket connections to my Phaser printers. (It essentially checks
for "idle" on UDP port 9101 and the ability to connect to TCP port 9100.
I had to do this since for my Tek 360s, connections are refused on 9100
even though 9101 says idle. This is an old problem reported on prior 
postings.) If both checks are OK, my chooser exits with 0 and writes the
appropriate subqueue name to STDOUT.

Question #1:

Should the chooser run until it detects a free subqueue like check_idle
or
exit with an error if it can't find any available subqueues? (Mine runs
until it finds a free subqueue.)

Question #2:

How should I handle the error condition where I can't make a connection
or
get status from one remote printer, but another is available? As long as
at least one subqueue is available jobs will get sent, however, the
master
queue will never know there is a problem on one of its subqueues. Should
I
JABORT if I find a serious problem on any subqueue?

--------
Jerry Damian             | Ford Email: [EMAIL PROTECTED]  
Ford Motor Co./RCS Dept. | Internet Email: [EMAIL PROTECTED]          
SRL MD 1074 RM 1116      | ph: (313)32-38347 fax: (313)39-04865      
Dearborn, MI 48121-2053  | my opinions != Ford's opinions or policy

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