> From [EMAIL PROTECTED] Fri May 28 18:34:59 2004 > Date: Fri, 28 May 2004 09:52:05 -0500 > From: "Barton Wold" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: LPRng: LPD limit >
> Does anyone know if there is someway to configure LPRng to only > accept a certain number of LPD requests? I had a problem a few > weeks ago with GNOME print manager on a linux workstation opening > 500 ports per minute (one for each printer) and it eventually used > up all of swap on the server! I have put into place a port timeout > on the server, but I think I am still vulnerable in that there is > no limit to the number of ports than can be opened. > I now ran into another problem with a couple of windows boxes > opening up a number of ports for non-existent printers, and am > sensing that this is yet another example of a potential problem > with idle LPD print ports. Or is there something else I should be > considering??? Thanks for any advice! > > Barton Wold > The LPRng server (lpd) can be configured to accept and perform at most a limited number of jobs at a time. # Purpose: maximum number of servers that can be active # default max_servers_active=1024 (INTEGER) This value can be used to 'throttle' the number of active processes. By the way, the 'fifo' option will cause connections to be accepted from a system, but not SERVICE the connection until the previous lpr/lpq/whatever request is finished. # Purpose: enforce FIFO (first in, first out) sequential job printing order # default fifo (FLAG on) # Purpose: FIFO lock file # default fifo_lock_file=fifo.lock (STRING) Patrick Powell Astart Technologies [EMAIL PROTECTED] 6741 Convoy Court Network and System San Diego, CA 92111 Consulting 858-874-6543 FAX 858-751-2435 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. -----------------------------------------------------------------------------
