> From [EMAIL PROTECTED] Mon Dec 10 21:32:30 2001
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: checkpc speed 
> Date: Tue, 11 Dec 2001 15:40:46 +1100
> From: "C. L. McAvaney" <[EMAIL PROTECTED]>
>
>
>     Date:       Mon, 10 Dec 2001 19:56:31 -0800 (PST)
>     From:       Patrick Powell <[EMAIL PROTECTED]>
>
>   > OK, then it is time for the BIG GUNS:
>   > 
>   > checkpc -f -D2 2>&1 >/tmp/log
>   > 
>   > and start looking... Sigh...
>
> hmm...I agree with the sigh.
>
> There is a 2 second pause between these lines:
>
> 2001-12-11-15:37:12.593 alfirk [18449] checkpc  dalmation: Get_spool_control:  file 
>'control.dalmation'
> 2001-12-11-15:37:12.593 alfirk [18449] checkpc  dalmation: Setup_printer: printer 
>now 'dalmation', spool dir '/var/spool/lpd/dalmation'
>
> 2001-12-11-15:37:14.721 alfirk [18449] checkpc  dalmation: Scan_printer: file 
>'control.dalmation'
> 2001-12-11-15:37:14.722 alfirk [18449] checkpc  dalmation: Scan_printer: file 
>'status.dalmation'
>
> ...
> Same pause for each printer.

What is happening here is that the checkpc is doing opendir and then
  readdir.

Possible problems:

  You may have a zillion junk files in this directory.

  You may have your spool directory on an NFS mounted file system
  or some other file system that is really sluggish about listing directories.

Otherwise I am totally baffled.

Patrick

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to