I receive text files with LPD and parse them with a filter that I wrote in perl. The filter then saves the parsed text to the local hard drive.
Sometimes the queue stalls, it seems that there is a sub server that doesn't die as it should. After a while in this state the sub server dies and next job gets processed and then stalled. This time a little bit longer. Each job thereafter get stalled and the time waiting for the sub server to die is a little bit longer. It first appeared to happen when the client was a WinXP, but now it seems to happen when client is AIX as well, so maybe it does not depend on the clients. However, I have not been able to reproduce this behaviour when client is Linux or Win 2000. The behaviour is pretty much the same as described here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06137.html Please help, I really need to solve this. I use RedHat 8 with the LPRng package included in the distribution (LPRng-3.8.9-6.i386.rpm) Thanks for your time, PH This is printcap texto:\ :ml#0:\ :mx#0:\ :sd=/var/spool/lpd/texto:\ :af=/var/spool/lpd/texto/texto.acct:\ :sh:\ :lp=/dev/null:\ :lpd_bounce=true:\ :if=/var/spool/lpd/texto/textprint.pl: This is from status: IF filter 'textprint.pl' filter finished at 2004-03-17-17:26:54.614 ## A=CORTEZ (10.1.1.208)@csq1+95 number=95 process=18070 printing finished at 2004-03-17-17:26:54.614 ## A=CORTEZ (10.1.1.208)@csq1+95 number=95 process=18070 accounting at end at 2004-03-17-17:26:54.614 ## A=CORTEZ (10.1.1.208)@csq1+95 number=95 process=18070 finished 'CORTEZ (10.1.1.208)@csq1+95', status 'JSUCC' at 2004-03-17-17:26:54.614 ## A=CORTEZ (10.1.1.208)@csq1+95 number=95 process=18070 waiting for subserver to exit at 2004-03-17-17:27:22.572 ## A=<NULL> number=0 process=18030 subserver pid 18070 exit status 'JSUCC' at 2004-03-17-17:27:22.572 ## A=<NULL> number=0 process=18030 [EMAIL PROTECTED]: job 'CORTEZ (10.1.1.208)@csq1+95' printed at 2004-03-17-17:27:22.572 ## A=CORTEZ (10.1.1.208)@csq1+95 number=95 process=18030 job 'CORTEZ (10.1.1.208)@csq1+95' saved at 2004-03-17-17:27:22.573 ## A=CORTEZ (10.1.1.208)@csq1+95 number=95 process=18030 waiting for subserver to exit at 2004-03-17-17:27:55.579 ## A=<NULL> number=0 process=18030 subserver pid 18139 starting at 2004-03-17-17:27:55.581 ## A=CORTEZ (10.1.1.208)@csq1+96 number=96 process=18139 accounting at start at 2004-03-17-17:27:55.581 ## A=CORTEZ (10.1.1.208)@csq1+96 number=96 process=18139 opening device '/dev/null' at 2004-03-17-17:27:55.581 ## A=CORTEZ (10.1.1.208)@csq1+96 number=96 process=18139 ___________________________________________________ Yahoo! Messenger - Nueva versi�n GRATIS Super Webcam, voz, caritas animadas, y m�s... http://messenger.yahoo.es ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
