[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Slow Man



----- Forwarded message from Brian Victor <bhv1@psu.edu> -----

Date: Mon, 1 Apr 2002 22:40:06 -0500
From: Brian Victor <bhv1@psu.edu>
User-Agent: Mutt/1.3.25i
To: debian-powerpc@lists.debian.org
Subject: Slow Man

My "man" command takes an inordinately long time to run:

%time man foo
No manual entry for foo
man foo  0.01s user 0.02s system 0% cpu 21.026 total

strace shows the process pausing for almost a full second at each
_newselect() call (the below occurs 21 times for a nonexistent man page):

open("/var/cache/man/oldlocal/index.bt", O_RDONLY) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
read(3, "", 512)                        = 0
close(3)                                = 0
_newselect(0, 0, 0, 0, 0x7ffff488)      = 0

Any ideas about what might be happening?  I have the following installed:

||/ Name           Version        Description
+++-==============-==============-============================================
ii  man-db         2.3.20-18      The on-line manual pager
ii  manpages       1.39-1.1       Man pages about using a Linux system.
ii  manpages-dev   1.29-2         Linux-development man pages.

-- 
Brian

                                            "I am an optimist.  It does
Email: bhv1@psu.edu                          not seem too much use being
Web:   http://www.personal.psu.edu/bhv1/     anything else."
                                                   -- Winston Churchill


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



----- End forwarded message -----

-- 
*------v--------- Installing Debian GNU/Linux 3.0 --------v------*
|      <http://www.debian.org/releases/woody/installmanual>      |
|   debian-imac (potato): <http://debian-imac.sourceforge.net>   |
|            Chris Tillman        tillman@voicetrak.com          |
|                   May the Source be with you                   |
*----------------------------------------------------------------*


-- 
To UNSUBSCRIBE, email to debian-doc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: