You are not logged in.
Pages: 1
Lately I've noticed one of my daily crond jobs taking much longer than usual, causing it to really heat up the laptop and spin the hard drive. Running each of them in a terminal to troubleshoot, I've found that mandb is the problem. While before it added and removed database entries as it's supposed to, now it has trouble with its index cache and treats every manpage on the system as new. On average it took around a minute when working, but can now take up to ten. Any suggestions?
$ sudo mandb
Purging old database entries in /usr/man...
Processing manual pages under /usr/man...
Purging old database entries in /usr/man/nl...
Processing manual pages under /usr/man/nl...
Purging old database entries in /usr/man/fr...
Processing manual pages under /usr/man/fr...
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man3'. Wait...mandb: warning: /usr/share/man/man3/CPAN::Tarzip.3perl.gz: whatis parse for CPAN::Tarzip(3perl) failed
mandb: warning: /usr/share/man/man3/XML::Simple::FAQ.3pm.gz: whatis parse for XML::Simple::FAQ(3pm) failed
mandb: warning: /usr/share/man/man3/fribidi_set_debug.3.gz: whatis parse for fribidi_set_debug(3) failed
mandb: warning: /usr/share/man/man3/CPAN::HandleConfig.3perl.gz: whatis parse for CPAN::HandleConfig(3perl) failed
mandb: warning: /usr/share/man/man3/fribidi_unicode_version.3.gz: whatis parse for fribidi_unicode_version(3) failed
mandb: warning: /usr/share/man/man3/AnyEvent::Intro.3pm: whatis parse for AnyEvent::Intro(3pm) failed
mandb: warning: /usr/share/man/man3/CPAN::Debug.3perl.gz: whatis parse for CPAN::Debug(3perl) failed
mandb: warning: /usr/share/man/man3/fribidi_version_info.3.gz: whatis parse for fribidi_version_info(3) failed
mandb: warning: /usr/share/man/man3/CPAN::Queue.3perl.gz: whatis parse for CPAN::Queue(3perl) failed
mandb: warning: /usr/share/man/man3x/iswprint.3p.gz: ignoring bogus filename
mandb: warning: /usr/share/man/man3x/htobe16.3.gz: ignoring bogus filename
mandb: warning: /usr/share/man/man3x/gnutls_compression_set_priority.3.gz: ignoring bogus filename
## Tons more of these.. ^
Checking for stray cats under /usr/share/man...
Checking for stray cats under /var/cache/man...
Purging old database entries in /usr/share/man/zh...
Processing manual pages under /usr/share/man/zh...
Purging old database entries in /usr/share/man/zh_TW...
Processing manual pages under /usr/share/man/zh_TW...
Purging old database entries in /usr/share/man/fi...
Processing manual pages under /usr/share/man/fi...
Purging old database entries in /usr/share/man/de.UTF-8...
Processing manual pages under /usr/share/man/de.UTF-8...
Purging old database entries in /usr/share/man/cs...
Processing manual pages under /usr/share/man/cs...
Purging old database entries in /usr/share/man/pl.UTF-8...
Processing manual pages under /usr/share/man/pl.UTF-8...
Purging old database entries in /usr/share/man/nl...
Processing manual pages under /usr/share/man/nl...
Purging old database entries in /usr/share/man/id...
Processing manual pages under /usr/share/man/id...
Purging old database entries in /usr/share/man/zh_CN...
Processing manual pages under /usr/share/man/zh_CN...
Purging old database entries in /usr/share/man/jp...
Processing manual pages under /usr/share/man/jp...
Purging old database entries in /usr/share/man/de...
Processing manual pages under /usr/share/man/de...
Purging old database entries in /usr/share/man/it...
Processing manual pages under /usr/share/man/it...
Purging old database entries in /usr/share/man/pl.ISO8859-2...
Processing manual pages under /usr/share/man/pl.ISO8859-2...
Purging old database entries in /usr/share/man/es...
Processing manual pages under /usr/share/man/es...
Purging old database entries in /usr/share/man/sv...
Processing manual pages under /usr/share/man/sv...
Purging old database entries in /usr/share/man/fr.ISO8859-1...
Processing manual pages under /usr/share/man/fr.ISO8859-1...
Purging old database entries in /usr/share/man/ja...
Processing manual pages under /usr/share/man/ja...
Purging old database entries in /usr/share/man/ru.KOI8-R...
Processing manual pages under /usr/share/man/ru.KOI8-R...
Purging old database entries in /usr/share/man/pt_BR...
Processing manual pages under /usr/share/man/pt_BR...
Purging old database entries in /usr/share/man/ru...
Processing manual pages under /usr/share/man/ru...
Purging old database entries in /usr/share/man/hu...
Processing manual pages under /usr/share/man/hu...
Purging old database entries in /usr/share/man/fr...
Processing manual pages under /usr/share/man/fr...
Purging old database entries in /usr/share/man/ko...
Processing manual pages under /usr/share/man/ko...
Purging old database entries in /usr/share/man/tr...
Processing manual pages under /usr/share/man/tr...
Purging old database entries in /usr/share/man/ru.UTF-8...
Processing manual pages under /usr/share/man/ru.UTF-8...
Purging old database entries in /usr/share/man/it.ISO8859-1...
Processing manual pages under /usr/share/man/it.ISO8859-1...
Purging old database entries in /usr/share/man/pl...
Processing manual pages under /usr/share/man/pl...
Purging old database entries in /usr/share/man/it.UTF-8...
Processing manual pages under /usr/share/man/it.UTF-8...
Purging old database entries in /usr/share/man/fr.UTF-8...
Processing manual pages under /usr/share/man/fr.UTF-8...
Purging old database entries in /usr/local/man...
Processing manual pages under /usr/local/man...
12 man subdirectories contained newer manual pages.
14228 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
Offline
I can only confirm this issue
Offline
Should this be moved to the Pacman board?
Offline
Same problem for me, I reported the bug.
EDIT: a bug had been already reported, see http://bugs.archlinux.org/task/14773.
Last edited by gborzi (2009-05-21 11:33:30)
Giuseppe Borzi' - Registered Linux user #34028
Offline
yep, same here, any solutions?
Offline
@zerooo
I deactivated the man pages complete index building by changing /etc/cron.daily/man-db to mode 644. After the recent update to manpages I checked if the problem was fixed, although indirectly. It wasn't.
Giuseppe Borzi' - Registered Linux user #34028
Offline
i have the same problem ...
is it dangerous to completely disable the mandb cron task ??
Offline
@chuckychuck,
no, it isn't. I have disabled the mandb cron task after my post here and nothing bad has happened. The only problem is that if I install a package with manpages in it, these won't appear in a "man -k <something>" search. Please note that the usual man <something> works even for manpages not indexed by mandb.
Giuseppe Borzi' - Registered Linux user #34028
Offline
The update to man-db-2.5.5-2 fixed this issue.
Giuseppe Borzi' - Registered Linux user #34028
Offline
Has anyone seen this error resurface after upgrading coreutils and/or libarchive or module-init-tools? The recent man-db upgrade did not solve this, for me at least.
Offline
This is an old thread. I opened a new one: http://bbs.archlinux.org/viewtopic.php?pid=616277
To know or not to know ...
... the questions remain forever.
Offline
Pages: 1