50% of CPU used by lpd certainly looks like a problem to me. This is definitely not typical. Are you also seeing a lot of disk activity?
Have you posted your printcap yet? Phillip Griffith (803) 952-8776 Information Technology Department Westinghouse Savannah River Company [EMAIL PROTECTED] wrote on 01/30/2004 09:24:32 AM: > Hi again, > > > What is causing the load such that the main lpd process is so busy? > > Does the size of the queues affect how much lpd does? This machine > > is only serving 8 printers and when the load has been really high, > > it has only ever been one or two printers with large queues - the > > other queues have been empty. > > Here's an example of the load being driven up, when only one printer > has a queue, note that the delay betweeb jobs is proportional to the > length of the queue. > > The load here is 2.50, this top output is displaying all processes for > the 'lp' user, the processes are: > > 5639 - the 'main' lpd process > 6121 - the 'server' process for this queue > 7214 - the process for the job that has just printed > > 2:05pm up 25 min, 2 users, load average: 2.50, 2.02, 1.27 > 68 processes: 64 sleeping, 3 running, 1 zombie, 0 stopped > CPU states: 94.4% user, 5.5% system, 0.0% nice, 0.0% idle > Mem: 513192K av, 245952K used, 267240K free, 0K shrd, 5928K buff > Swap: 530136K av, 0K used, 530136K free > 186672K cached > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND > 6121 lp 25 0 6776 6776 2108 R 50.1 1.3 4:43 lpd > 5639 lp 15 0 1792 1792 1600 S 0.0 0.3 0:00 lpd > 7214 lp 16 0 0 0 0 Z 0.0 0.0 0:00 lpd <defunct> > > And here is the actual queue at the time of the above top output (with > usernames and hostnames changed). Is having this number of jobs in > the queue enough to cause the load to be this high, or is this > symptomatic of some problem? This machine only does print serving. > > [kant]toby: lpq -Pjc1 > Printer: [EMAIL PROTECTED] 'HP Laserjet 8150DN in Room1, South Machine > Halls JCMB' > Queue: 13 printable jobs > Server: pid 6121 active > Unspooler: pid 7214 active > Status: finished '[EMAIL PROTECTED]', status 'JSUCC' at 14:05:44.470 > Filter_status: job completed for [EMAIL PROTECTED] > Rank Owner/ID Class Job Files Size Time > active [EMAIL PROTECTED] A 838 (STDIN) 122948 13:51:50 > 2 [EMAIL PROTECTED] A 997 (STDIN) 379322 13:53:12 > 3 [EMAIL PROTECTED] A 419 /tmp/AcroLTZVI7 340854 13:55:31 > 4 [EMAIL PROTECTED] A 438 /tmp/Acroq0ollh 402637 13:56:49 > 5 [EMAIL PROTECTED] A 468 /tmp/AcroslEQ0m 257239 13:57:08 > 6 [EMAIL PROTECTED] A 485 /tmp/AcroyYZa42 309569 13:57:22 > 7 [EMAIL PROTECTED] A 501 /tmp/Acro6tgCRQ 416470 13:57:37 > 8 [EMAIL PROTECTED] A 41 (STDIN) 112610 13:59:57 > 9 [EMAIL PROTECTED] A 48 (STDIN) 96567 14:00:48 > 10 [EMAIL PROTECTED] A 541 /tmp/AcroGuOyb8 463561 14:02:16 > 11 [EMAIL PROTECTED] A 557 /tmp/Acro0sRYDv 120374 14:02:48 > 12 [EMAIL PROTECTED] A 749 delete.pdf 58779 14:04:31 > 13 [EMAIL PROTECTED] Z 753 delete.pdf 58779 14:05:23 > [kant]toby: > > Note that I'm running LPRng-3.8.10 - I haven't had a chance to test > newer versions properly, but will do so soon. > > Cheers > Toby > > > ----------------------------------------------------------------------------- > 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 theimpatient, > 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. > ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------