You are not logged in.

#1 2009-05-17 16:06:49

camphor
Member
Registered: 2009-03-01
Posts: 32

mandb/CPAN problems?

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

#2 2009-05-17 22:17:38

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 436

Re: mandb/CPAN problems?

I can only confirm this issue

Offline

#3 2009-05-18 21:46:45

camphor
Member
Registered: 2009-03-01
Posts: 32

Re: mandb/CPAN problems?

Should this be moved to the Pacman board?

Offline

#4 2009-05-20 22:34:03

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: mandb/CPAN problems?

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

#5 2009-05-25 21:11:41

zerooo
Member
Registered: 2006-01-29
Posts: 3
Website

Re: mandb/CPAN problems?

yep, same here, any solutions?

Offline

#6 2009-05-26 01:37:39

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: mandb/CPAN problems?

@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

#7 2009-06-19 08:34:40

chuckychuck
Member
From: Paris, France
Registered: 2008-07-01
Posts: 25
Website

Re: mandb/CPAN problems?

i have the same problem ...

is it dangerous to completely disable the mandb cron task ??

Offline

#8 2009-06-19 23:39:14

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: mandb/CPAN problems?

@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

#9 2009-06-21 15:22:46

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: mandb/CPAN problems?

The update to man-db-2.5.5-2 fixed this issue.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#10 2009-09-09 05:15:53

camphor
Member
Registered: 2009-03-01
Posts: 32

Re: mandb/CPAN problems?

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

#11 2009-09-09 09:00:03

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,271

Re: mandb/CPAN problems?

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

Board footer

Powered by FluxBB