[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rcs configure hang

From: Kelly Wang (kellythw)
Subject: Re: rcs configure hang
Date: Thu, 5 Nov 2020 22:28:30 +0000
User-agent: Microsoft-MacOutlook/16.42.20101102

Hi Paul,

When strace hang, I do 'ps -elf | grep strace' from other terminal and do kill 
-9 <process id from ps -elf>
kill -s INT $(ps -o pid= -C a.out) looks like not working from my server.

% kill -s INT $(ps -o pid= -C a.out)
Illegal variable name.

If you need support for DevX Tools:   http://devxsupport.cisco.com/
Specifically, for NXOS, see -

´╗┐On 11/5/20, 1:36 PM, "Paul Eggert" <eggert@cs.ucla.edu> wrote:

    On 11/5/20 1:18 PM, Kelly Wang (kellythw) wrote:
    > With the conftest.c you provided, strace still hang.
    > Check for how many calls for chdir("confdir3"), it only has 110 times, 
then hang after mkdir("confdir3", 0700 ...
    > Is there any directory limitation that can make on a server?

    Wow, that's a more-serious kernel (or filesystem) bug than I thought: the 
    system call is hanging and does not appear to be interruptible via SIGALRM.

    When the program hangs, how do you terminate it? Do you use Control-C from 
    terminal? If so, what happens if you instead use 'kill'? Something like 

    rm -fr conftest3
    gcc conftest.c
    strace -o tr ./a.out &
    sleep 1
    kill -s INT $(ps -o pid= -C a.out)

    That last line should send the SIGINT signal to the a.out command; does 
    cause a.out to exit? (You can look at 'tr' to see.) If it exits, perhaps we 
    modify conftest3 to do the same thing to itself when it is running on a 

    Also, what happens if you do the same recipe as above, but use 'ALRM' 
    than 'INT'? Again, look at the end of 'tr'.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]