#2769 PMR68576 (Env)-xdsh processes hung after ctl-C

2.7.2
closed
PMR (72)
5
2012-09-19
2012-04-11
No

Service Saul,

When running a xdsh command hierarchically and then stopping it with ctrl-C, the MS daemon to SN daemon process is left. I recreated this on my machine. Probably need to work with Jarrod on this one.

Ran xdsh c250f04c08ap17-hf0 sleep 60

Here are the processes ps -ef | grep c250f04c08ap17-hf0
root 6946998 3932762 0 06:34:21 - 0:00 xCATd SSL: xdsh to c250f04c08ap17-hf0 for root@loopback
root 7274584 6946998 0 06:34:21 - 0:00 xCATd SSL: xdsh to c250f04c08ap17-hf0 for root@loopback: xdsh instance
root 6357356 6947680 0 06:34:21 pts/2 0:00 perl /opt/xcat/bin/xdsh c250f04c08ap17-hf0 sleep 60
root 5112700 7274584 0 06:34:22 - 0:00 xCATd SSL: xdsh to c250f04c08ap17-hf0 for root@loopback: xdsh instance: connection to c250f04c01ap01:3001

Ctl-C and after a few seconds we are down to this one that never goes away, which I believe is the connect to the SN.

ps -ef | grep c250f04c08ap17-hf0
root 6946964 6226064 0 06:52:14 pts/4 0:00 grep c250f04c08ap17-hf0
root 7013312 1 0 06:38:40 - 0:00 xCATd SSL: xdsh to c250f04c08ap17-hf0 for root@loopback: xdsh instance: connection to c250f04c01ap01:3001

Discussion

  • Lissa Valletta

    Lissa Valletta - 2012-04-11

    ctl-C on the MN does not affect the xdsh ssh command running on the SN in hierarchy.
    Linda and I notice xdsh does not have a default timeout. If you set a timeout, they will go away. The trouble is knowing what value for the timeout.

     
  • Guang Cheng Li

    Guang Cheng Li - 2012-04-12

    I do not know if we should set a default timeout, as I mnentioned in another email, the user may use xdsh to run commands that will last for long, I remembered someone has ever use xdsh to "cat /a/file", however, the /a/file is very very big, several Giga bytes, the xdsh needs to wait for everything to complete.

     
  • Lissa Valletta

    Lissa Valletta - 2012-04-12

    Jarrod created the problem on the LRZ system (Linux) with nodestat. He will be looking into the issue since it is code in the daemon and client.pm , he designed.

     
  • Lissa Valletta

    Lissa Valletta - 2012-05-03

    Jarrod has fixed in 2.7 for 2.7.3 and 2.8. need to verify. Does customer need 2.6 would rather not because major change to xcatd.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks