Package: dhelp
Version: 0.6.21+nmu6
Severity: wishlist

I don't quite understand why, but every once in a while, what I think is
this package maxes out my CPU in what seems to be an attempt at
rebuilding a documentation index. According to top, it looks like this:

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+   COMMAND
29460 root      20   0  187092 172884   2736 R  80,0  4,7   1:57.14 index++

And ps axfu is like this:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     22706  0.0  0.0  12644  1928 ?        Ss   nov08   0:00 
/usr/sbin/anacron -dsq
root     29439  0.0  0.0   4328   748 ?        S    09:11   0:00  \_ /bin/sh -c 
run-parts --report /etc/cron.weekly
root     29445  0.0  0.0   4216   692 ?        S    09:11   0:00      \_ 
run-parts --report /etc/cron.weekly
root     29453  0.0  0.0   4328   804 ?        S    09:11   0:00          \_ 
/bin/sh /etc/cron.weekly/dhelp
root     29458  0.1  0.5  80148 18828 ?        Sl   09:11   0:00              
\_ /usr/bin/ruby -w /usr/sbin/dhelp_parse -i
root     29460 29.3  4.7 187092 172888 ?       S    09:11   2:11                
  \_ /usr/bin/index++ --config-file /usr/share/dhelp/config/swish++.conf 
--index-file /var/lib/dhelp/documents.index --follow-links -

Sometimes it's ghostscript that maxes out the CPU, but it's within the
same cronjob:

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+   COMMAND
10112 root      20   0  110836  21172   9268 R  99,7  0,6   0:00.74 gs

The job takes about 12 minutes to complete.

I am pretty sure the package list hasn't changed. I haven't done
upgrades or changed the documentation set that warrants a full rebuild
of the documentation. Why is this happening?

And why is this happening in a cronjob and not as part of a trigger or
something similar?

Because this is running weekly, new packages will not be picked up for a
week, which may cause confusion...

The dhelp cronjob file doesn't explain its purpose either, it would be
nice if it was at least possible to turn the thing off easily.

A.
-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dhelp depends on:
ii  doc-base                    0.10.6
ii  libdata-page-perl           2.02-1
ii  libhtml-parser-perl         3.71-1+b3
ii  liblocale-gettext-perl      1.05-8+b1
ii  libtemplate-perl            2.24-1.2+b1
ii  liburi-perl                 1.64-1
ii  perl-modules                5.20.2-3+deb8u1
ii  poppler-utils               0.26.5-2
ii  pstotext                    1.9-6+b1
ii  ruby                        1:2.1.5+deb8u1
ii  ruby-bdb                    0.6.6-1+b2
ii  ruby-debian                 0.3.9
ii  ruby-gettext                3.1.2-1
ii  ruby2.1 [ruby-interpreter]  2.1.5-2+deb8u2
ii  swish++                     6.1.5-2.2
ii  ucf                         3.0030

Versions of packages dhelp recommends:
ii  chromium [www-browser]          46.0.2490.71-1~deb8u1
ii  epiphany-browser [www-browser]  3.14.1-1
ii  html2text                       1.3.2a-18
ii  iceweasel [www-browser]         38.4.0esr-1~deb8u1
ii  lynx-cur [www-browser]          2.8.9dev1-2+deb8u1

Versions of packages dhelp suggests:
pn  catdvi                  <none>
pn  info2www                <none>
pn  man2html                <none>
ii  nginx-full [httpd-cgi]  1.6.2-5

-- no debconf information

Reply via email to