Bug#396835: tetex-bin postinst take unlimited amount of time and ram (kpsewhich took 600M and 14h)
Hello Marcin,
do you just rarely use this machine, or have you forgotten about the
problem? I hope you don't mind that I "ping" you.
Frank Küster <frank@kuesterei.ch> wrote:
> Marcin Juszkiewicz <debbugs@hrw.one.pl> wrote:
>
>> PID TTY STAT TIME COMMAND
>> 2077 ? Ss 0:01 kdeinit Running...
>> 2203 ? S 2:48 \_ konsole [kdeinit]
>> 29185 pts/12 Ss 0:00 | \_ /bin/bash
>> 29215 pts/12 S 0:00 | | \_ bash
>> 460 pts/12 Sl+ 0:05 | | \_ aptitude install openembedded-essential
>> 1354 pts/12 S+ 0:00 | | \_ /usr/bin/dpkg --status-fd 17 --configure libkpathsea4 tex-common tetex-base tetex-bin texinfo sgml-base xml-core sgml-data docbook libosp5 libostyle1c2 openjade docbook-dsssl tetex-extra tipa jadetex libsgmls-perl sgmlspl docbook-utils openembedded-essential
>> 1975 pts/12 S+ 0:00 | | \_ /bin/sh -e /var/lib/dpkg/info/tetex-base.postinst configure
>> 3268 pts/12 R+ 147:15 | | \_ kpsewhich --format=web2c files fmtutil.cnf
>>
>> 'openembedded-essential' is metapackage:
>
> Am I right that there was no parallel running of tetex-bin's configure
> script, as in the first listing? Then I guess we can forget this, it
> was just an other hanging script that was left over from a previous
> run. And it is just the kpsewhich call in tetex-base's postinst script
> that hangs.
This was true, wasn't it?
>> 15:52 hrw@work:hrw$ ls /tmp/ -a
>> . gconfd-hrw index.html?sm_command=build ksocket-hrw orbit-root v995212
>> .. gconfd-root index.html?sm_command=build.1 mc-hrw ssh-UvPBQF1982 vmware-hrw
>> album_info.xml gpg-eIVKXi kde-hrw mc-root test .X0-lock
>> aptitudeEwiQYu .ICE-unix kde-hrw~ orbit-hrw v920934 .X11-unix
>
> nothing tetex'ish yet.
>
> Can you try to call kpsewhich directly while it is hanging, like this:
>
> kpsewhich -debug=126 --format='web2c files' fmtutil.cnf 2>&1 | tee kpsewhich.log
>
> I guess you will have to kill that process, because it will hang, too.
> Then send us the log file, or better copy the log file before you kill
> it and send us this version. Maybe even
>
> strace -o kpsewhich.trace kpsewhich --format='web2c files' fmtutil.cnf
>
> and the resulting file kpsewhich.trace would be needed.
These two things would be very valuable.
Thank you in advance,
Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: