On Thu, Oct 16, 2003, Dennis McRitchie wrote:

> [...]
> But the program hangs. "ps -ef" after several minutes reveals:
> > ps -ef|grep rpm
> psr      20444 12122  0 17:00 pts/3    00:00:00 /usr/psr.oit/redhat9/lib/openpkg/bash
> /usr/psr.oit/redhat9/lib/openpkg/rpmdb --build
> psr      20682 20444  0 17:00 pts/3    00:00:00 
> /usr/psr.oit/redhat9/lib/openpkg/rpmq -q --define _dbpath
> /usr/psr.oit/redhat9/RPM/DB/ -- gpg-pubkey-63c4cb9f-3c591eda
> [...]
>
> It is apparently the child process that is hung, as I can kill the parent with "kill 
> 20444". Can't kill the child
> without using "kill -9 20682".

In such a situation try to use "strace -p 20682". It is usually able to show you the
last system call in which it is now hanging.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to