Re: Ctrl+C doesn't interrupt process waiting for I/O

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bill Davidsen
Date: Sunday, June 29, 2008 - 4:57 pm

Jeremy Fitzhardinge wrote:
Basic problem is that you can get a process which you can't interrupt 
(in in most cases can't kill) which has resources tied up. Given the 
choice between surprising a process with an EINTR or killing it during a 
reboot to get the system usable again, I would rather surprise.

The current situation is infrequent but not unheard of. And the causes 
are not all rooted in NFS, I used to see this 4-5 times a year when I 
was running nntp clusters with heavily threaded applications, every once 
in a while some thread would hang in a waiting for i/o state and could 
be killed or fixed. I can't see that an application error would result 
in a thread being left waiting i/o and uninterruptable, that's a kernel 
state.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Ctrl+C doesn't interrupt process waiting for I/O, Török Edwin, (Sat Jun 28, 3:38 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Jeremy Fitzhardinge, (Sat Jun 28, 7:44 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Jeremy Fitzhardinge, (Sat Jun 28, 7:45 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Avi Kivity, (Sat Jun 28, 8:42 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Jeremy Fitzhardinge, (Sat Jun 28, 10:13 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Avi Kivity, (Sat Jun 28, 10:39 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Jeremy Fitzhardinge, (Sat Jun 28, 11:25 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Török Edwin, (Sun Jun 29, 12:09 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, David Newall, (Sun Jun 29, 12:23 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Török Edwin, (Sun Jun 29, 12:45 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Andi Kleen, (Sun Jun 29, 5:10 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Jeremy Fitzhardinge, (Sun Jun 29, 9:02 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Bill Davidsen, (Sun Jun 29, 4:57 pm)
Re: Ctrl+C doesn't interrupt process waiting for I/O, Helge Hafting, (Mon Jun 30, 3:30 am)
Re: Ctrl+C doesn't interrupt process waiting for I/O, J. Bruce Fields, (Mon Jun 30, 10:35 am)