* stuck process in D state
@ 2009-08-04 13:30 Arnd Hannemann
2009-08-04 13:43 ` Peter Zijlstra
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Hannemann @ 2009-08-04 13:30 UTC (permalink / raw)
To: LKML
Hi,
I have a process in D state on one of our servers. How can I get it killed?
Seems to be hanging on nfs (but nfs server is up and running).
Other processes have no problems accessing files on same nfs mount.
t sysrq shows:
ld D C0119B81 0 24688 408 (NOTLB)
e6ca7dc4 00200282 e6ca7da8 c0119b81 00000000 c0544b80 00000027 c0544b80
c0544b80 e6ca7d98 99ebeb27 0010351e 00abc680 0000000a d4247000 99ed612c
0010351e 00012df2 d4247110 c1001200 00009deb 00000000 99ec333a 0010351e
Call Trace:
[<c0119b81>] try_to_wake_up+0x41/0x360
[<c0134924>] autoremove_wake_function+0x14/0x40
[<c03f4206>] io_schedule+0x26/0x30
[<c0145835>] sync_page+0x35/0x40
[<c03f45d2>] __wait_on_bit+0x42/0x70
[<c0145800>] sync_page+0x0/0x40
[<c0145a2e>] wait_on_page_bit+0x5e/0x70
[<c0134950>] wake_bit_function+0x0/0x60
[<c0146665>] wait_on_page_writeback_range+0xa5/0x110
[<c0146ab7>] filemap_write_and_wait+0x37/0x50
[<c01cafbd>] nfs_sync_mapping+0x4d/0x80
[<c01cb816>] nfs_revalidate_mapping+0x116/0x150
[<c01c9bd4>] nfs_file_read+0x64/0xe0
[<c016a194>] do_sync_read+0xc4/0x100
[<c0134910>] autoremove_wake_function+0x0/0x40
[<c01c99b0>] nfs_file_llseek+0x0/0x70
[<c03f31ef>] __down_failed+0x7/0xc
[<c03f5c72>] .text.lock.kernel_lock+0x18/0x34
[<c016a0d0>] do_sync_read+0x0/0x100
[<c016ac1f>] vfs_read+0xbf/0x170
[<c0169f2c>] vfs_llseek+0x3c/0x50
[<c016b161>] sys_read+0x41/0x70
[<c010547f>] syscall_call+0x7/0xb
kill -9 24688
did not work :-(
Best regards,
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: stuck process in D state
2009-08-04 13:30 stuck process in D state Arnd Hannemann
@ 2009-08-04 13:43 ` Peter Zijlstra
0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2009-08-04 13:43 UTC (permalink / raw)
To: Arnd Hannemann; +Cc: LKML
On Tue, 2009-08-04 at 15:30 +0200, Arnd Hannemann wrote:
> Hi,
>
> I have a process in D state on one of our servers. How can I get it killed?
> Seems to be hanging on nfs (but nfs server is up and running).
> Other processes have no problems accessing files on same nfs mount.
You can't, that's what D state means - TASK_UNINTERRUPTIBLE, the only
way it can continue is to make that page its waiting on available.
I seem to remember some people are slowly converting most of those
wait_on_page stuff to interruptible waits, but that's a slow and tricky
business.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-04 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-04 13:30 stuck process in D state Arnd Hannemann
2009-08-04 13:43 ` Peter Zijlstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®