process really strange.
look at my process.
[root@localhost root]# ps -aux | grep dd Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 2835 0.0 0.2 1824 516 pts0 D 14:05 0:00 dd conv noerror if /dev/hdc of /root/mandrake_cd1.iso root 2925 0.0 0.2 1936 632 pts4 R 14:13 0:00 grep dd [root@localhost root]# kill -SIGKILL 2835 [root@localhost root]# kill -SIGKILL 2835 [root@localhost root]# kill -SIGKILL 2835 [root@localhost root]# kill -SIGKILL 2835 [root@localhost root]# kill -SIGKILL 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# kill -9 2835 [root@localhost root]# This process takes a high number of strokes to kill??? why does this much kill signal?? can u figure this out? |
This process was probably writing to the disk at the time you tried to kill it - the key here is the D flag from ps:
A quote from the man page: Quote:
The repeated signal sending probably didn't help at all, it just took a long time for the uninterruptible sleep to end and the first signal to be received. So, see the man page for ps for more details. |
yeah i understand thanks.
is there any way to suddenly kill this kind of "D Uninterruptible sleep (usually IO"? |
Nope - it's uninterruptible.
|
I always logged in to this kind of process hanging problem.So it continuously running.There should be a key u know to off the process even if the process is uninterruptible.
|
I am also facing a same kind of problem. I have a pppd process with "Ds -- Disk Sleep" process status. Its parent is init. Is there any way to kill this process without restarting my computer. Please help...
|
If it's in D state it's completely unkillable. It may be accessing disk DMA buffers or other hardware dependent resources. Sudden termination might cause thise buffers to become corrupted. if you frequently get processes stuck in the D state reading to/from the disk you should look into the possibility that your disk is going bad, as this should not happen.
|
Could you not just stop it from running at startup?
|
No. This is pppd process which is stucking whenever I try to connect to the Internet. I can't avoid running this process. But whenever it get stuck, I have to reboot my PC to connect to Internet again. Is there a way to maually kill the pppd process with "Disk Sleep" status or is there a way to run the pppd process within another process (I mean shell), so that I can kill the shell to kill the stucked pppd process. Please help & sorry for my poor English...
|
hmmm, try ifdown first on the interface pppd is using to connect. or try some other pppoe deamon.
|
To explain a little what the "uninterruptability" means.
Basically, the process is calling your system (kernel) to perform some action, typically related to IO (ie reading from/writing to disk, accessing a certain device like a modem, etc). When the kernel is trying to perform the system call (ie actually handle the IO request), it sometimes needs to be uninterruptable. As posted already, a nice example would be when an interrupt of the kernel's routine would mess up your hardware (buffers, etc). The bottomline is that you shouldn't interrupt this process at all. That's why they are made "uninterruptible". If programs stay in this state a long time, then there's most likely a problem with using/accessing your hardware. For instance, your disk controller can be unresponsive (ie if the disk is going bad or was mounted the wrong way). Or your modem doesn't respond to the kernel's requests. So, you should try looking at your system logs to see what exactly is going wrong and try to fix that. Killing an uninterruptible process isn't desirable and also impossible (except by a reboot). |
Thankyou BenJoBoy & timmeke for your kind replies.
I am using kubuntu Linux 5.10. BenJoBoy can you please explain what are other ppp daemons are available in kubuntu Linux and also how to use them (especially ifdown & pppoe deamon). |
"ifdown" isn't a daemon. It's just a program you can use to check if a network interface is "down" (ie not up and running). "ifup" is it's counterpart.
|
Thanks for your reply timmeke.
Subrata Bera. |
All times are GMT -5. The time now is 12:49 AM. |