Comment 18 for bug 412972

Revision history for this message
Michael Helmling (supermihi) wrote : Re: can only kill processes with -9 in karmic from SSH sessions, -TERM does not work

Hi,
the machine is a PC (amd64), not virtual. All I said before was regarding SSH sessions only, but right now I happen to be at the site, so I'm able to do some further testing. The following holds:

sleep on SSH, kill on SSH: not working
sleep on SSH, kill on getty: not working
sleep on getty, kill on SSH: working
sleep on getty, kill on getty: working

So this is somewhat SSH related, and I even more suspect a relation to bug #407428. However, the mentioned bug is gone after the last update+reboot, but this one is NOT.

Here is your /proc/status from a sleep running at SSH:

# cat /proc/4781/status
Name: sleep
State: S (sleeping)
Tgid: 4781
Pid: 4781
PPid: 3695
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0
VmPeak: 9436 kB
VmSize: 9436 kB
VmLck: 0 kB
VmHWM: 804 kB
VmRSS: 804 kB
VmData: 192 kB
VmStk: 84 kB
VmExe: 32 kB
VmLib: 1676 kB
VmPTE: 40 kB
Threads: 1
SigQ: 7/16382
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: fffffffe7ffadeff
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: ffffffffffffffff
CapEff: ffffffffffffffff
CapBnd: ffffffffffffffff
Cpus_allowed: 3
Cpus_allowed_list: 0-1
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 2
nonvoluntary_ctxt_switches: 2