Package: man-db
Version: 2.5.0-4
Severity: important

mandb run from cron.daily eats my CPU.

Seems be be blocked, in a loop, as strace won't report anything (strace
-p on the process).

Started with --debug, I get :

Active processes (1):
  "zcat < /usr/share/man/man1/openoffice.1.gz" (17780) -> 0
  ++priv_drop_count = 1
  ++priv_drop_count = 2
  --priv_drop_count = 1
  Starting pipeline: zcat < /usr/share/man/man1/openoffice.1.gz |
  /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8 [input: {0,
  /usr/share/man/man1/openoffice.1.gz}, output: {-1, NULL}]
  Started "zcat < /usr/share/man/man1/openoffice.1.gz", pid 17781
  Started "/usr/lib/man-db/manconv", pid 17782
  ++priv_drop_count = 2
  --priv_drop_count = 1
  Waiting for pipeline: zcat < /usr/share/man/man1/openoffice.1.gz |
  /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8 [input: {0,
  /usr/share/man/man1/openoffice.1.gz}, output: {-1, NULL}]
  Active processes (2):
    "zcat < /usr/share/man/man1/openoffice.1.gz" (17781) -> 0
      "/usr/lib/man-db/manconv" (17782) -> 0
      --priv_drop_count = 0
      "openoffice - OpenOffice.org office suite"
      record = 'openoffice - OpenOffice.org office suite'
      base_name = 'ooffice'
      name = 'openoffice', id = C
      ignoring differing ids: openoffice
      name = 'ooffice', id = B
      replace_if_necessary(): replace

      ult_src: File /usr/share/man/man1/mysql_find_rows.1.gz in mantree
      /usr/share/man
      Starting pipeline: zcat < /usr/share/man/man1/mysql_find_rows.1.gz
      [input: {0, /usr/share/man/man1/mysql_find_rows.1.gz}, output:
      {-1, NULL}]
      Started "zcat < /usr/share/man/man1/mysql_find_rows.1.gz", pid
      17784
      Waiting for pipeline: zcat <
      /usr/share/man/man1/mysql_find_rows.1.gz [input: {0,
      /usr/share/man/man1/mysql_find_rows.1.gz}, output: {-1, NULL}]
      Active processes (1):
        "zcat < /usr/share/man/man1/mysql_find_rows.1.gz" (17784) -> 0
        ++priv_drop_count = 1
        ++priv_drop_count = 2
        --priv_drop_count = 1
        Starting pipeline: zcat <
        /usr/share/man/man1/mysql_find_rows.1.gz |
        /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8 [input: {0,
        /usr/share/man/man1/mysql_find_rows.1.gz}, output: {-1, NULL}]
        Started "zcat < /usr/share/man/man1/mysql_find_rows.1.gz", pid
        17785
        Started "/usr/lib/man-db/manconv", pid 17786
        ++priv_drop_count = 2
        --priv_drop_count = 1
        Waiting for pipeline: zcat <
        /usr/share/man/man1/mysql_find_rows.1.gz |
        /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8 [input: {0,
        /usr/share/man/man1/mysql_find_rows.1.gz}, output: {-1, NULL}]
        Active processes (2):
          "zcat < /usr/share/man/man1/mysql_find_rows.1.gz" (17785) -> 0
            "/usr/lib/man-db/manconv" (17786) -> 0
            --priv_drop_count = 0
            "mysql_find_rows - extract SQL statements from files"
            record = 'mysql_find_rows - extract SQL statements from
            files'
            base_name = 'mysql_find_rows'
            name = 'mysql_find_rows', id = A

Sorry for pour indentation due to vi and copy/paste.

I suppose there's something wrong wit the last manpage processing
(/usr/share/man/man1/mysql_find_rows.1.gz) ?

This may be related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=180341 but can't tell
for sure.

Hope this helps,


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages man-db depends on:
ii  bsdmainutils           6.1.10            collection of more utilities from 
ii  debconf [debconf-2.0]  1.5.18            Debian configuration management sy
ii  dpkg                   1.14.16.6         package maintenance system for Deb
ii  groff-base             1.18.1.1-15       GNU troff text-formatting system (
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

man-db recommends no packages.

-- debconf information:
  man-db/build-database: true
  man-db/rebuild-database: true
  man-db/install-setuid: false



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to