> From [EMAIL PROTECTED] Tue Jan 15 09:59:26 2002
> Date: Tue, 15 Jan 2002 10:51:54 -0600 (CST)
> From: Russell Adams <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: Socket Printing and Runaway Processes
>
> I'm experiencing some issues with socket printing to terminal servers and
> jet-direct boxes and runaway lpd processes.
>
> Everything prints fine until either the printer runs out of paper, or a
> user turns off the printer during the print. Netstat reports the
> connection as "CLOSED" with data still waiting to send to the printer, and
> the lpd subserver process is consuming all available CPU time. LPQ reports
> that there was a JWRERR and then multiple JTIMEOUT errors and "waiting
> for subserver to exit" messages. The queue remains stalled with the
> subserver running away indefinitely, until an lpc kill is performed and
> the queue is restarted.
>
> Any ideas? I'm quite stumped. Perhaps there is a timeout that I could use
> to force it to retry after the connection is lost?
>
> I'm running LPRng v3.8.4 on an Alphaserver DS10 w/ RedHat 7.0 for Alpha.
>
> Russell Adams
> Systems Administrator
> Kelsey-Seybold Clinic
Can you do the following:
a) station a user near the printer.
They will need to turn the printer offline when you need them to.
b) Do:
lpc stop all
This will temporarily stop all queues but the one you need.
c) stop lpd:
pkill -INT lpd
d) start lpd, but this time with debugging, and make sure that
you get the options right:
lpd -F -D3,network | tee /tmp/logfile
e) In anothter window, send a job that will take a while to print:
lpr -Pqueue filetoprint
f) As soon as the paper starts to come out, have the user turn the printer
off line.
g) watch the output from lpd... it should soon go into a loop.
KILL OFF THE tee process.
KILL OFF lpd as well (perhaps from another window)
(pkill -INT lpd)
h) restart LPD and then enable the printers
lpd
lpc start all
i) Send me the log file output, /tmp/logfile
Thanks!
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.lprng.com)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------