You are not logged in.
Pages: 1
Hey everyone,
since several weeks I'm having trouble with the daily cronjob regarding mandb. Its very slow and almost blocking the system for several minutes. Think several other people are having a similar problem.
I have installed
man-db 2.5.7-1
man-pages 3.24-1
So, I already read through threads like http://bbs.archlinux.org/viewtopic.php?pid=616277 and http://bbs.archlinux.org/viewtopic.php?id=76528. Didn't helped me so far.
I checked the problem with modprobe.d.5.gz but there wasn't an incorrect link.
According to the output from mandb, there are some bad symlinks in the net-snmp package. Anyway, this bug has already been reported (http://bugs.archlinux.org/task/18605).
I'm also getting a lot of 'ignoring bogus filename' messages.
I already tried to completely remove those packages (by pacman -Rscn man-db man-pages) and reinstalled them. Didn't help.
Calling mandb results always to the following status output:
10 man subdirectories contained newer manual pages.
15908 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
So apart from the problems with the net-snmp package, what can I do get rid of this 'ignoring bogus filename' warnings?
However, until this is fixed, I think I will set the cronjob to 644.
Thanks in advance
bel
Offline
man-db got an update 2 days ago, I updated yesterday.
The update includes a new cron script which is more extended than the old one. It also includes settings for niceness, the old one does not. I see you have updated to this new version of man-db, have you also replaced the old script with the new one as pacman suggests?
The new script is at the /etc/cron.daily/man-db.pacnew and the old one is in the same directory without the .pacnew extension.
Compare the scripts and spot the niceness variables in there, perhaps they can help you with your load problem.
You can remove the old script and rename the man-db.pacnew to man-db.
Check if it is still executable after doing so, it was fine over here.
Last edited by Ultraman (2010-03-16 11:59:18)
Offline
Thanks for your response.
I'd already replaced the old script several days ago. It changed nothing so far.
Maybe I try setting IONICE_CLASS=3, but anyway I think this wouldn't fix the actual problems regarding 'ignoring bogus filename' and incorrect symlinks.
Offline
Okay, I'm sorry but that was my only idea for the moment.
I don't know about those bogus filenames. I have not run into that issue (yet).
Offline
There have been some issues with mandb generating the whole db instead of doing an incremental update if some files are wrong. Look on the bug tracker at the closed mandb bugs and it should provide steps to find out what files are causing the problem
[git] | [AURpkgs] | [arch-games]
Offline
I don't know what is wrong with man-db, but I uninstalled it completely and my computer runs more smoothly. What is the use of those man pages any way? You can read them on the web, if you need them.
Offline
I don't know what is wrong with man-db, but I uninstalled it completely and my computer runs more smoothly. What is the use of those man pages any way? You can read them on the web, if you need them.
Some people don't always have a working connection, you insensitive clod.
Offline
As for the 'ignoring bogus filename' messages, I've found this is caused by /usr/share/man/man3x (symlink to man3). Remove that and you should be fine.
** Crap, double-posted.
Last edited by Peasantoid (2010-03-17 21:28:20)
Offline
I had the same issue, nothing mentioned at the bugtracker worked.
So I uninstalled man-pages and man-db.
Then I deleted /etc/cron.daily/man-db*, /var/cache/man/* and /usr/share/man/*.
Installed man-pages and man-db again and ran mandb again.
Now it takes 1 second to run the command.
Offline
I love man pages. You guys are cruel .
Mandb put man pages in a database for faster access. It's had problems in the past when I used Debian, but haven't heard of anything since then until now. As far as accessing man pages quickly, I've always like it. Don't think I'm going to change this until I find a proper fix, or I'll wait for a fix in an update.
Last edited by Gen2ly (2010-03-19 17:32:41)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
As for the 'ignoring bogus filename' messages, I've found this is caused by /usr/share/man/man3x (symlink to man3). Remove that and you should be fine.
** Crap, double-posted.
I agree. This is a bug in man-pages, right? Although, in the corresponding PKGBUILD nothing creates this link... Have you filed a bug, or should I?
L.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
I agree. This is a bug in man-pages, right? Although, in the corresponding PKGBUILD nothing creates this link... Have you filed a bug, or should I?
L.
I examined man-db and man-pages from ABS and neither seems to create the problematic symlink. Looks like the problem was an archaic PKGBUILD that has since been updated.
Offline
ataraxia@amaranth:~ $ pacman -Qo /usr/share/man/man3x
/usr/share/man/man3x is owned by filesystem 2010.02-4
Offline
ataraxia: ...or that.
Does anyone know what the purpose of that symlink is?
Offline
ataraxia: ...or that.
Does anyone know what the purpose of that symlink is?
I guess, it is just book keeping:
http://en.wikipedia.org/wiki/Man_page
So, 3x means C library manual, categorized in a X window section... Although bogus filenames errors were related to 3p, such as umask.3p.gz. This means C library, POSIX specs.
What I don't understand, is why did *.3p.gz man pages end up in the man3x dir. I suppose it should have been man3p On RHEL systems there are directories, not symlinks, like man3x.
FYI, I reinstalled man-pages and the symlink did not go away -- must be a left=over from a previous version.
PS: Of course, pacman -Qo man3x/* will point to man-pages.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Leonid.I: As ataraxia said, man3x/ is in filesystem, not man-pages. Since -x seems to be a standardized suffix, the issue would appear to lie with man-db instead.
Offline
Oops, my bad. Sorry for that ataraxia, must have misread your post.
Actually this now makes sense, just take a look at the latest filesystem PKGBUID from ABS. Therefore, it's not man-db related. I would argue that it is a bug, since a more logical layout would be to create man3{x,p} and copy all *.3{x,p}.gz files in there, so that man3 contains only *.3.gz.
I can file a bug, if you guys agree.
L.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
What I mean is that mandb is buggy for choking on man3x, since man*x should be considered valid. Instead it calls that a 'bogus filename'.
If I have time later, I'll sift around in the source and see if I can hunt me some bugs.
** Hmm... actually I see what you mean -- it's not that mandb dislikes man*x, it's that there's a mismatch between man3x/foo.3.gz (when it should only be seeing foo.3x.gz). So yeah, bug in man-pages and/or filesystem, not man-db.
Last edited by Peasantoid (2010-03-22 02:19:20)
Offline
Apparently, we were not the first to notice this, because there is a bug report FS#18783 agains filesystem.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
mandb run 20 minutes today. Conkey reported 3 instances running at times.
Offline
Pages: 1