[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lprng
Subject:    RE: LPRng: lpd: fork_failed 1
From:       "Paul Tykodi" <paul () intermate-us ! com>
Date:       2003-01-30 17:27:04
[Download RAW message or body]

Dear Chris,

You might be running out of free TCP addresses in the TCP/IP stack on your
server, in the range between 256 and 1024, to establish more LPD connections
at times of high printer connection usage.

HTH

Best Regards,

/Paul
--
Paul Tykodi
National Product Manager
Print 4Sight Inc.

p: 603-431-0606 x115
f: 603-436-6432
E-mail: p.tykodi@print4sight.com
www.print4sight.com

Special Note: On November 30th, 2002, Print 4Sight Inc. acquired the
business assets and business activity of Intermate US Inc.

Print 4Sight Inc. as an official North American distributor will continue to
sell and support Intermate and Praim Printing products from current offices
in Portsmouth, NH, USA.


-----Original Message-----
From: owner-lprng@lprng.com [mailto:owner-lprng@lprng.com]On Behalf Of
Chris Wood
Sent: Thursday, January 30, 2003 11:50 AM
To: lprng@lprng.com
Subject: LPRng: lpd: fork_failed 1


We heavily use LP with about 100 printers (laser, label, line, etc).  We
have run into a situation where LPD starts to fail to submit print jobs.
  It happens rarely (once a week maybe), but when it does the only thing
that will fix the problem is a reboot of the system and not just a
restart of LPD.

This seems to point to a limit that we must be hitting with the OS or
something that is causing LPD to start failing submit jobs.  LPD is the
only program on the system that shows problems when this happens -- all
other programs continue to run just fine (enterprise level apps, exim,
postgresql, webserver, etc).

Any ideas what I could be running into?

Here is a snip of lpd in debug (level 5) mode and also a 'ps -ef|grep lpd':

2003-01-28-10:21:00.424 x440 [12625] Waiting  *** done ***
2003-01-28-10:21:00.424 x440 [12625] Waiting  Get_max_servers: getrlimit
returns 7168
2003-01-28-10:21:00.424 x440 [12625] Waiting  Get_max_servers: returning
3584
2003-01-28-10:21:00.424 x440 [12625] Waiting  lpd: max_servers 3584,
active 2
2003-01-28-10:21:00.424 x440 [12625] Waiting  lpd: fork_failed 1,
processes 2 active, max 3584
2003-01-28-10:21:00.424 x440 [12625] Waiting  lpd: starting select
timeout 'yes', 79 sec, max_socks 7
2003-01-28-10:21:00.424 x440 [12625] Waiting  lpd: waiting for fd 5 to
be readable
2003-01-28-10:21:00.424 x440 [12625] Waiting  lpd: waiting for fd 6 to
be readable
2003-01-28-10:21:00.425 x440 [12625] Waiting  lpd: select returned 1,
error 'No Error'
2003-01-28-10:21:00.425 x440 [12625] Waiting  lpd: fd 6 readable
2003-01-28-10:21:00.425 x440 [12625] Waiting  Read_server_status: starting
2003-01-28-10:21:00.425 x440 [12625] Waiting  Read_server_status: select
status 1
2003-01-28-10:21:00.425 x440 [12625] Waiting  Read_server_status: read
status 1
2003-01-28-10:21:00.425 x440 [12625] Waiting  Split: str 0xbfffef90 '
', sep '
^L', sort 0, keysep '<NULL>', uniq 0, trim 0
2003-01-28-10:21:00.425 x440 [12625] Waiting  Split: str 0xbfffef90, ('
...') end 0xbfffef91, t 0xbfffef90
2003-01-28-10:21:00.425 x440 [12625] Waiting  Split: after trim len 0,
str 0xbfffef90, end 0xbfffef91, t 0xbfffef90
2003-01-28-10:21:00.425 x440 [12625] Waiting  Dump_line_list:
Read_server_status - input - 0xbfffef00, count 0, max 0, list 0x0
2003-01-28-10:21:00.425 x440 [12625] Waiting  Read_server_status: select
status 0
2003-01-28-10:21:00.425 x440 [12625] Waiting  Dump_line_list:
Read_server_status - waiting for start - 0x80b6590, count 0, max 0, list 0x0
2003-01-28-10:21:00.425 x440 [12625] Waiting  lpd: LOOP START
2003-01-28-10:21:00.425 x440 [12625] Waiting  lpd: next fd 8
2003-01-28-10:21:00.425 x440 [12625] Waiting  lpd: Poll_time 600,
Force_poll 0, start_fd 0, Started_server 0
2003-01-28-10:21:00.425 x440 [12625] Waiting  Dump_line_list: lpd -
Servers_line_list - 0x80b6590, count 0, max 0, list 0x0
2003-01-28-10:21:00.425 x440 [12625] Waiting  plp_waitpid: pid -1, options 1
2003-01-28-10:21:00.425 x440 [12625] Waiting  plp_waitpid: returned 0,
status exit status 0 (JSUCC)
2003-01-28-10:21:00.425 x440 [12625] Waiting  lpd: from last poll 521,
to next poll 79
2003-01-28-10:21:00.425 x440 [12625] Waiting  *** Dump_pinfo Countpid -
before - count 2 ***
2003-01-28-10:21:00.425 x440 [12625] Waiting    pid 13722
2003-01-28-10:21:00.425 x440 [12625] Waiting    pid 13732
2003-01-28-10:21:00.425 x440 [12625] Waiting  *** done ***
2003-01-28-10:21:00.426 x440 [12625] Waiting  Countpid: pid 13722 active
2003-01-28-10:21:00.426 x440 [12625] Waiting  Countpid: pid 13732 active
2003-01-28-10:21:00.426 x440 [12625] Waiting  *** Dump_pinfo Countpid -
after - count 2 ***
2003-01-28-10:21:00.426 x440 [12625] Waiting    pid 13722
2003-01-28-10:21:00.426 x440 [12625] Waiting    pid 13732
2003-01-28-10:21:00.426 x440 [12625] Waiting  *** done ***
2003-01-28-10:21:00.426 x440 [12625] Waiting  Get_max_servers: getrlimit
returns 7168
2003-01-28-10:21:00.426 x440 [12625] Waiting  Get_max_servers: returning
3584
2003-01-28-10:21:00.426 x440 [12625] Waiting  lpd: max_servers 3584,
active 2
2003-01-28-10:21:00.426 x440 [12625] Waiting  lpd: fork_failed 1,
processes 2 active, max 3584
2003-01-28-10:21:00.426 x440 [12625] Waiting  lpd: starting select
timeout 'yes', 79 sec, max_socks 7
2003-01-28-10:21:00.426 x440 [12625] Waiting  lpd: waiting for fd 5 to
be readable
2003-01-28-10:21:00.426 x440 [12625] Waiting  lpd: waiting for fd 6 to
be readable

--------------------------------
x440:~#
lp        1142     1  0 09:23 ?        00:00:00 lpd Waiting
585       1226 31836  0 09:24 pts/84   00:00:00 lp -onobanner -c
-dflb1wpicklase
lp        1230  1142  0 09:24 ?        00:00:00 lpd RECV 'flb1wpicklaser1'
tgardner  1524   810  0 09:24 pts/3    00:00:00 lp -onobanner -c
-dutb1wshiplase
lp        1527  1142  0 09:24 ?        00:00:00 lpd RECV 'utb1wshiplaser1'
lp        1786  1142  0 09:26 ?        00:00:00 lpd RECV 'utb1wkitslaser1'
lvasquez  2114  1954  0 09:27 ttyp2    00:00:00 lp -dflb1wsalelaser1
fc3a9jlx.tx
lp        2115  1142  0 09:27 ?        00:00:00 lpd RECV 'flb1wsalelaser1'
rperry    2127 22791  0 09:27 pts/35   00:00:00 lp -onobanner -c
-dgab1xpicklase
lp        2128  1142  0 09:27 ?        00:00:00 lpd RECV 'gab1xpicklaser1'
root      2215  1994  0 09:27 pts/368  00:00:00 grep lp
sharonl   2290 26711  0 09:27 pts/60   00:00:00 lp -dgab1xsalelaser1
x440:~#



----------------------------------------------------------------------------
-
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 majordomo@lprng.com (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 majordomo@lprng.com
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest myname@host.org
unsubscribe LIST <mailaddr>     |  unsubscribe lprng myname@host.org

If you have major problems,  send email to papowell@astart.com with the word
LPRNGLIST in the SUBJECT line.
----------------------------------------------------------------------------
-


-----------------------------------------------------------------------------
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 majordomo@lprng.com (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 majordomo@lprng.com
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest myname@host.org
unsubscribe LIST <mailaddr>     |  unsubscribe lprng myname@host.org

If you have major problems,  send email to papowell@astart.com with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic