* Unkillable processes??? @ 2000-09-08 10:14 Lallang 2000-09-08 20:40 ` Raymond Doetjes 0 siblings, 1 reply; 11+ messages in thread From: Lallang @ 2000-09-08 10:14 UTC (permalink / raw) I'm running Tru64 5.0A on a Alphaserver 2100A and have two hung processes (a "more" and a "vi -R") which I can't even kill with a "kill -9 <PID>" of "kill -KILL <PID>". I can kill the controlling process but I can't kill the hung processes. I can't even kill them as root. Can anyone tell me what's going on here? This is the first time I've experienced this. Thanks in advance. ------Signature line follows-------------- Remove ".cn" from my email address to send email to me. "Lallang" is a species of long elephant grass with razor-edged leaves found in South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-08 10:14 Unkillable processes??? Lallang @ 2000-09-08 20:40 ` Raymond Doetjes 2000-09-08 21:25 ` Lallang 0 siblings, 1 reply; 11+ messages in thread From: Raymond Doetjes @ 2000-09-08 20:40 UTC (permalink / raw) To: Lallang Who is the mother process of these processes? Try to kill them and it should release Otherwise a init runlevel can help but that will stop all services temporarily. Raymond Lallang wrote: > I'm running Tru64 5.0A on a Alphaserver 2100A and have two hung processes (a > "more" and a "vi -R") which I can't even kill with a "kill -9 <PID>" of "kill > -KILL <PID>". I can kill the controlling process but I can't kill the hung > processes. I can't even kill them as root. Can anyone tell me what's going on > here? This is the first time I've experienced this. Thanks in advance. > > ------Signature line follows-------------- > Remove ".cn" from my email address to send email to me. > "Lallang" is a species of long elephant grass with razor-edged leaves found in > South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-08 20:40 ` Raymond Doetjes @ 2000-09-08 21:25 ` Lallang 2000-09-10 9:12 ` Stephen Carpenter 0 siblings, 1 reply; 11+ messages in thread From: Lallang @ 2000-09-08 21:25 UTC (permalink / raw) >Who is the mother process of these processes? >Try to kill them and it should release > >Otherwise a init runlevel can help but that will stop all services temporarily. > >Raymond Well, the mother process of those processes got killed fine (I used a "kill -9 <PID1> <PID2> <PID3>" format where PID1 was the mother process) but those particular processes just won't die. I had to reboot the system instead. Next time, I guess I'll try "init 3" instead (I assume that a system already running at runlevel 3 will still "resync" itself if asked to change to the same runlevel?) ------Signature line follows-------------- Remove ".cn" from my email address to send email to me. "Lallang" is a species of long elephant grass with razor-edged leaves found in South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-08 21:25 ` Lallang @ 2000-09-10 9:12 ` Stephen Carpenter 2000-09-10 17:20 ` Tom Leitner 0 siblings, 1 reply; 11+ messages in thread From: Stephen Carpenter @ 2000-09-10 9:12 UTC (permalink / raw) Do a "ps aux" and you will probably find that the processes are in a U state. Signals are only delivered to a process during a context switch or on a system call boundary so if the process is stuck in the kernel waiting for a resource then you won't be able to kill it. A reboot is the only cure. Stephen. Lallang wrote: > >Who is the mother process of these processes? > >Try to kill them and it should release > > > >Otherwise a init runlevel can help but that will stop all services > temporarily. > > > >Raymond > > Well, the mother process of those processes got killed fine (I used a "kill -9 > <PID1> <PID2> <PID3>" format where PID1 was the mother process) but those > particular processes just won't die. I had to reboot the system instead. Next > time, I guess I'll try "init 3" instead (I assume that a system already running > at runlevel 3 will still "resync" itself if asked to change to the same > runlevel?) > > ------Signature line follows-------------- > Remove ".cn" from my email address to send email to me. > "Lallang" is a species of long elephant grass with razor-edged leaves found in > South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-10 9:12 ` Stephen Carpenter @ 2000-09-10 17:20 ` Tom Leitner 2000-09-11 7:07 ` Lallang 0 siblings, 1 reply; 11+ messages in thread From: Tom Leitner @ 2000-09-10 17:20 UTC (permalink / raw) Stephen Carpenter <steve.carpenter@compaq.com> wrote: > Do a "ps aux" and you will probably find that the processes are in a U state. > Signals are only delivered to a process during a context switch or on a system c > all > boundary so if the process is stuck in the kernel waiting for a resource then yo > u > won't be able to kill it. A reboot is the only cure. Or he might try to find out which resource the process is waiting for and try to release that resource. For instance: I had some "mt rewind" or "tar" commands stuck which were apparently waiting for the tape device indefinately. Turning the tape-drive off and on again caused an SCSI bus reset and released the processes. Tom -- Dr. Tom Leitner Dept. of Communications, Graz Univ. of Technology, tom@radar.tu-graz.ac.at Inffeldgasse 12, A-8010 Graz / Austria / Europe PGP public key @ http://wiis.tu-graz.ac.at/people/tom.html ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-10 17:20 ` Tom Leitner @ 2000-09-11 7:07 ` Lallang 2000-09-12 12:29 ` Stephen Carpenter 0 siblings, 1 reply; 11+ messages in thread From: Lallang @ 2000-09-11 7:07 UTC (permalink / raw) Yes, Stephen Carpenter is right. The process is in the "U" state (an "Uninterruptable sleeping process" according to the onine man pages--what the Hell does that mean?). And the "init 3" call didn't work at all. The only thing that cured it was a reboot. I was just trying to compile sendmail 8.11.0 on a host which had the sources NFS-mounted from another host. Both hosts are running version 5.0A. The interesting thing is that both hung processes were in the midsts of compiling the same file, conf.c, when it happened. Now, if I compiled it from a DS20 with the sendmail sources locally mounted, they compile all the way through with no errors or hangs. Whereas, if I compiled it from an AS2100A that nfs hardmounts the file system from the DS20, it only hangs when it gets to compilation of the conf.c file. Prior to compiles, I did a "make clean" for all subdirectories and even resorted to deleting the whole source tree and re-extracting from archives. No go either way. Just to eliminate possiblities before I step up to the unenviable task of comparing system libraries across two systems, has anyone encountered nfs related bugs where a compile on an nfs (hard or auto) mounted system caused such hangs on Tru64 Unix 5.0A? I've seen these sort of things occur intermittently on pre-Solaris Sparc systems before. Thanks in advance. ------Signature line follows-------------- Remove ".cn" from my email address to send email to me. "Lallang" is a species of long elephant grass with razor-edged leaves found in South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-11 7:07 ` Lallang @ 2000-09-12 12:29 ` Stephen Carpenter 2000-09-12 19:28 ` Lallang 0 siblings, 1 reply; 11+ messages in thread From: Stephen Carpenter @ 2000-09-12 12:29 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 210 bytes --] If you want to see where the process is stuck try: # dbx -k /vmunix (dbx) set $pid = nnn (dbx) where (dbx) quit You'll need some internals knowledge to figure it out or you could post the info here. Stephen. [-- Attachment #2: Card for Stephen Carpenter --] [-- Type: text/x-vcard, Size: 258 bytes --] begin:vcard n:Carpenter;Stephen x-mozilla-html:FALSE org:Compaq Customer Services;Compaq Computer Limited adr:;;;;;; version:2.1 email;internet:steve.carpenter@compaq.com title:UNIX Technical Consultant x-mozilla-cpt:;-14720 fn:Stephen Carpenter end:vcard ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-12 12:29 ` Stephen Carpenter @ 2000-09-12 19:28 ` Lallang 2000-09-13 13:45 ` Stephen Carpenter 0 siblings, 1 reply; 11+ messages in thread From: Lallang @ 2000-09-12 19:28 UTC (permalink / raw) Here's the results for pid 1722 (the results for the other one is after this): > 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":2740, 0xfffffc00 002d4390] 1 ubc_lookup_common(0xfffffc00030d7508, 0xc000, 0xfffffe041440f448, 0xfffffe0 41440f448, 0x0) ["../../../../src/kernel/vfs/vfs_ubc.c":2436, 0xfffffc000055c690 ] 2 ubc_lookup(0x0, 0xffffffffffffe000, 0xfffffc00030d7440, 0xc000, 0x8000) [". ./../../../src/kernel/vfs/vfs_ubc.c":2579, 0xfffffc000055cb64] 3 nfs3_getapage(0x39b1808a00000000, 0xfffffc0001019f20, 0x8000, 0xfffffe04144 0f5a0, 0x0) ["../../../../src/kernel/nfs/nfs3_vnodeops.c":4666, 0xfffffc00004ae6 ac] 4 nfs3_getpage(0x0, 0x18000, 0xfffffe041440f5a0, 0x4, 0x0) ["../../../../src/ kernel/nfs/nfs3_vnodeops.c":4539, 0xfffffc00004ae3a8] 5 rw3vp_cache(0x3, 0x1, 0xfffffc000d249720, 0x0, 0x0) ["../../../../src/kerne l/nfs/nfs3_vnodeops.c":1506, 0xfffffc00004a9cbc] 6 rw3vp(0x0, 0x0, 0xfffffc000e1e8f00, 0x1000000000000, 0x0) ["../../../../src /kernel/nfs/nfs3_vnodeops.c":1459, 0xfffffc00004a9b98] 7 nfs3_rdwr(0xfffffc000e9ce900, 0x143b8000, 0xfffffc0000562efc, 0xfffffc0009a bdf40, 0xfffffe041440f800) ["../../../../src/kernel/nfs/nfs3_vnodeops.c":1349, 0 xfffffc00004a99a0] 8 vn_read(0xfffffc00002ab058, 0xfffffe041440f800, 0xfffffc000e1e8f00, 0x1, 0x fffffe041440f7c8) ["../../../../src/kernel/vfs/vfs_vnops.c":1240, 0xfffffc000056 30ac] 9 rwuio(0xfffffc0001e4e200, 0xfffffc000e9ce900, 0xfffffc0009abdf40, 0xfffffe0 41440f8a8, 0x0) ["../../../../src/kernel/bsd/sys_generic.c":2235, 0xfffffc00002a b0ac] 10 read(0x18000, 0xfffffc0000000001, 0x8000, 0x0, 0xffffffff00000001) ["../../ ../../src/kernel/bsd/sys_generic.c":2184, 0xfffffc00002aafb4] 11 syscall(0x10000, 0x14162a10, 0x1, 0xe75d139b8ddab, 0x0) ["../../../../src/k ernel/arch/alpha/syscall_trap.c":707, 0xfffffc00005bb850] 12 _Xsyscall(0x8, 0x12185368, 0x14093258, 0x5, 0x140b1360) ["../../../../src/k ernel/arch/alpha/locore.s":1903, 0xfffffc00005b1bf4] Here's the results for PID 1269: > 0 thread_block() ["../../../../src/kernel/kern/sched_prim.c":2740, 0xfffffc00 002d4390] 1 ubc_lookup_common(0xfffffc00030d7508, 0xc000, 0xfffffe04142ef448, 0xfffffe0 4142ef448, 0x0) ["../../../../src/kernel/vfs/vfs_ubc.c":2436, 0xfffffc000055c690 ] 2 ubc_lookup(0x0, 0xffffffffffffe000, 0xfffffc00030d7440, 0xc000, 0x8000) [". ./../../../src/kernel/vfs/vfs_ubc.c":2579, 0xfffffc000055cb64] 3 nfs3_getapage(0x39b1808a00000000, 0xfffffc0001019f20, 0x8000, 0xfffffe04142 ef5a0, 0x0) ["../../../../src/kernel/nfs/nfs3_vnodeops.c":4666, 0xfffffc00004ae6 ac] 4 nfs3_getpage(0x0, 0x18000, 0xfffffe04142ef5a0, 0x4, 0x0) ["../../../../src/ kernel/nfs/nfs3_vnodeops.c":4539, 0xfffffc00004ae3a8] 5 rw3vp_cache(0x3, 0x1, 0xfffffc000e5e0960, 0x0, 0x0) ["../../../../src/kerne l/nfs/nfs3_vnodeops.c":1506, 0xfffffc00004a9cbc] 6 rw3vp(0x0, 0x0, 0xfffffc000c601b00, 0x1000000000000, 0x0) ["../../../../src /kernel/nfs/nfs3_vnodeops.c":1459, 0xfffffc00004a9b98] 7 nfs3_rdwr(0xfffffc00025a1800, 0x14510000, 0xfffffc0000562efc, 0xfffffc000c6 094c0, 0xfffffe04142ef800) ["../../../../src/kernel/nfs/nfs3_vnodeops.c":1349, 0 xfffffc00004a99a0] 8 vn_read(0xfffffc00002ab058, 0xfffffe04142ef800, 0xfffffc000c601b00, 0x1, 0x fffffe04142ef7c8) ["../../../../src/kernel/vfs/vfs_vnops.c":1240, 0xfffffc000056 30ac] 9 rwuio(0xfffffc00011c2c80, 0xfffffc00025a1800, 0xfffffc000c6094c0, 0xfffffe0 4142ef8a8, 0x0) ["../../../../src/kernel/bsd/sys_generic.c":2235, 0xfffffc00002a b0ac] 10 read(0x18000, 0xfffffc0000000001, 0x8000, 0x0, 0xffffffff00000001) ["../../ ../../src/kernel/bsd/sys_generic.c":2184, 0xfffffc00002aafb4] 11 syscall(0x10000, 0xfffffc000023f251, 0x1, 0x322a639b8dcd6, 0x0) ["../../../ ../src/kernel/arch/alpha/syscall_trap.c":707, 0xfffffc00005bb850] 12 _Xsyscall(0x8, 0x12185368, 0x14093258, 0x5, 0x140b1360) ["../../../../src/k ernel/arch/alpha/locore.s":1903, 0xfffffc00005b1bf4] Hmmm...seems to be the same place that both are stuck? In the nfs code, maybe? ------Signature line follows-------------- Remove ".cn" from my email address to send email to me. "Lallang" is a species of long elephant grass with razor-edged leaves found in South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-12 19:28 ` Lallang @ 2000-09-13 13:45 ` Stephen Carpenter 2000-09-14 3:22 ` Lallang 0 siblings, 1 reply; 11+ messages in thread From: Stephen Carpenter @ 2000-09-13 13:45 UTC (permalink / raw) Yet, NFS client stuff. Do you have patch kit 1 loaded? Stephen. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-13 13:45 ` Stephen Carpenter @ 2000-09-14 3:22 ` Lallang 2000-09-18 2:11 ` Lallang 0 siblings, 1 reply; 11+ messages in thread From: Lallang @ 2000-09-14 3:22 UTC (permalink / raw) >Yet, NFS client stuff. Do you have patch kit 1 loaded? > >Stephen. I don't believe so--I'll have to check. Also, I've just found out that the DS20 (the NFS server) is 5.0 while the AS2100 (the NFS client) is 5.0A. ------Signature line follows-------------- Remove ".cn" from my email address to send email to me. "Lallang" is a species of long elephant grass with razor-edged leaves found in South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Unkillable processes??? 2000-09-14 3:22 ` Lallang @ 2000-09-18 2:11 ` Lallang 0 siblings, 0 replies; 11+ messages in thread From: Lallang @ 2000-09-18 2:11 UTC (permalink / raw) >>Yet, NFS client stuff. Do you have patch kit 1 loaded? >> >>Stephen. > >I don't believe so--I'll have to check. Also, I've just found out that >the >DS20 (the NFS server) is 5.0 while the AS2100 (the NFS client) is 5.0A. I've found out that Patch Kit 1 is NOT loaded. Do you have a link to that patch kit somewhere? Thanks. The DS20 is the production machine while the AS2100 is a development machine. Does the patch kit specifically address the abovementioned problem? ------Signature line follows-------------- Remove ".cn" from my email address to send email to me. "Lallang" is a species of long elephant grass with razor-edged leaves found in South-East Asia which can inflict painful cuts if stepped into. ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2000-09-18 2:11 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-09-08 10:14 Unkillable processes??? Lallang 2000-09-08 20:40 ` Raymond Doetjes 2000-09-08 21:25 ` Lallang 2000-09-10 9:12 ` Stephen Carpenter 2000-09-10 17:20 ` Tom Leitner 2000-09-11 7:07 ` Lallang 2000-09-12 12:29 ` Stephen Carpenter 2000-09-12 19:28 ` Lallang 2000-09-13 13:45 ` Stephen Carpenter 2000-09-14 3:22 ` Lallang 2000-09-18 2:11 ` Lallang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox