On Thu, 31 Jan 2008 23:53:49 +0100 Esteban Manchado Velázquez <[EMAIL PROTECTED]> wrote:
> Wow, I have *never* seen an unkillable index++ process. Is it in > state "D"? State 'R', while I was out today the PC was running a job, and 'index++' must of started when I turned on the PC; here you can see the 'index++' has been running for 8 hours: % ps ax | grep 'index++' | grep -v grep 9986 ? RN 434:27 /usr/bin/index++ --config-file /usr/share/dhelp/swish++.conf --index-file /var/lib/dhelp/documents.index - > Anyway, that seems to be a problem with index++ (part of swish+ > +), or perhaps a problem in Ghostscript or something similar (used by > index++, as per my configuration, to extract the text of PS and PDF > files). Frankly, I don't know what to do about it. This bug may also be related: #459611 dhelp: cronjob consumes all available memory http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459611 ...you've contributed to it's thread. It mentions 'ghostscript', but where that enters into it isn't clear to me. > FWIW, I have tried installing cupsys (the version I tried was > 1.3.5-1+b1, though), and it worked OK. It just indexed the file, I > can search for it, etc. At least with my "internal" version, which > I'll upload soon, but I don't think it would change for the currently > public version. > > In any case, I think you should file it as a separate bug, I > don't think it belongs to this one (#455731). Probably reassign > #461349 to swish++ or ghostscript? #459611 was already assigned to 'swish++', perhaps this should be morged this? Still, I'm somewhat confused as to where it really belongs, as it's not yet clear what's going on. > Perhaps you can try again with the new version, when I upload it, > and see it that helps? Still bad -- while installing the new 'dhelp' v0.6.5, it stops here: % apt-get install dhelp { ... } After this operation, 12.3kB of additional disk space will be used. Get:1 http://http.us.debian.org unstable/main dhelp 0.6.6 [34.4kB] Fetched 34.4kB in 2min0s (287B/s) Reading changelogs... Done apt-listchanges: Do you want to continue? [Y/n]? (Reading database ... 211764 files and directories currently installed.) Preparing to replace dhelp 0.6.5 (using .../archives/dhelp_0.6.6_all.deb) ... Hitting 'Ctrl-C' or 'Ctrl-Z' has no effect. Here's a copy n' paste from 'htop', (somewhat abridged); it's wide, so turn off word wrapping and view with monospace fonts if possible: PID USER PRI NI VIRT RES SHR S CPU% MEM% Command 18200 root 20 0 1728 444 372 D 0.0 0.1 rm -rf /var/lib/dhelp 18199 root 20 0 1768 488 420 S 0.0 0.1 /bin/sh -e /var/lib/dpkg/info/dhelp.prerm upgrade 0.6.6 18172 root 20 0 69200 67540 844 S 0.0 10.5 /usr/bin/dpkg --status-fd 23 --unpack --auto-deconfigure /var/cache/apt/archives/dhelp_0.6.6_all.deb 18061 root 20 0 17116 14548 11912 S 0.0 2.3 apt-get install dhelp 18060 root 20 0 4012 2252 1424 S 0.0 0.3 /usr/bin/perl -w /usr/bin/feta install dhelp 9986 root 39 19 90148 85848 1088 R 89.5 13.3 /usr/bin/index++ --config-file /usr/share/dhelp/swish++.conf --index-file /var/lib/dhelp/documents.index - 9984 root 30 10 7248 5332 1724 S 0.0 0.8 ruby1.8 -rdhelp -e Dhelp::Indexer.new.reindex_all 9982 root 30 10 1768 492 424 S 0.0 0.1 /bin/sh /etc/cron.weekly/dhelp 9884 root 30 10 1700 660 484 S 0.0 0.1 run-parts --report /etc/cron.weekly 9883 root 28 8 1768 480 412 S 0.0 0.1 /bin/sh -c nice run-parts --report /etc/cron.weekly The same in 'htop' "tree" (f5) mode: 9986 root 39 19 90148 85848 1088 R 90.7 13.3 | ,- /usr/bin/index++ --config-file /usr/share/dhelp/swish++.conf --index-file /var/lib/dhelp/documents.index - 9984 root 30 10 7248 5332 1724 S 0.0 0.8 | ,- ruby1.8 -rdhelp -e Dhelp::Indexer.new.reindex_all 9982 root 30 10 1768 492 424 S 0.0 0.1 | ,- /bin/sh /etc/cron.weekly/dhelp 9884 root 30 10 1700 660 484 S 0.0 0.1 | ,- run-parts --report /etc/cron.weekly 9883 root 28 8 1768 480 412 S 0.0 0.1 | ,- /bin/sh -c nice run-parts --report /etc/cron.weekly 18200 root 20 0 1728 444 372 D 0.0 0.1 | | ,- rm -rf /var/lib/dhelp 18199 root 20 0 1768 488 420 S 0.0 0.1 | | ,- /bin/sh -e /var/lib/dpkg/info/dhelp.prerm upgrade 0.6.6 18172 root 20 0 69200 67540 844 S 0.0 10.5 | | ,- /usr/bin/dpkg --status-fd 23 --unpack --auto-deconfigure /var/cache/apt/archives/dhelp_0.6.6_all.deb 18061 root 20 0 17116 14548 11912 S 0.0 2.3 | | ,- apt-get install dhelp 18060 root 20 0 4012 2252 1424 S 0.0 0.3 | | ,- /usr/bin/perl -w /usr/bin/feta install dhelp 15229 root 20 0 2844 1584 1236 S 0.0 0.2 | | ,- bash 15222 root 20 0 2692 1240 872 S 0.0 0.2 | | ,- su 5051 alfie 20 0 3396 1856 1212 S 0.0 0.3 | ,- bash I killed various parent processes, but the zombies just attached themselves to 'init [2]': 9986 root 39 19 90148 85848 1088 R 90.7 13.3 | ,- /usr/bin/index++ --config-file /usr/share/dhelp/swish++.conf --index-file /var/lib/dhelp/documents.index - 9984 root 30 10 7248 5372 1764 D 0.0 0.8 ,- ruby1.8 -rdhelp -e Dhelp::Indexer.new.reindex_all 18200 root 20 0 1728 444 372 D 0.0 0.1 ,- rm -rf /var/lib/dhelp 19396 root 20 0 1728 444 372 D 0.0 0.1 ,- rm -rf /var/lib/dhelp 1 root 20 0 2076 696 600 S 0.0 0.1 init [2] HTH...