|
Page 1 of 1 |
|
Posted: Mon, 23rd Jun 2014 14:16 Post subject: Debian Linux, unkillable processes |
|
 |
There's an issues with my server that is really bugging me.
Every now and then a long running heavy process freezes and will not die.
I try everything, kill -9 does nothing - just fails silently.
It's flipping between R and D states every few seconds and eats 100% cpu whenever in R state.
I know stuck in a D state in perpetual IO wait can happen with broken HDs but it's all functional and it still jumps between R and D.
This is bullshit.. I should be able to kill a process on a linux machine, right?
This is most common on rtorrent as it's the IO and CPU heaviest process on my server.
Checking with lsof lists a crapload of files and network connections (CLOSE_WAIT state).
I have all my disks combined into one huge 7TB volume using AUFS, if that has anything to do with it.
Though accessing the AUFS volume and the independent drives work fine.
System drive is completely separate from data.
I have tried unmounting the data volumes any files lsof lists but it makes no difference, rtorrent still claims use of these files that no longer exist.
Only way I've found is to just reboot.
I haven't tried dropping down to single user mode but it's just easier to reboot for a clean slate anyway.
|
|
Back to top |
|
 |
|
Posted: Mon, 23rd Jun 2014 14:19 Post subject: |
|
 |
you need to add the PID in your command too. first identify the process and then kill PID
|
|
Back to top |
|
 |
|
Posted: Mon, 23rd Jun 2014 15:00 Post subject: |
|
 |
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
|
Posted: Mon, 23rd Jun 2014 15:57 Post subject: |
|
 |
Sounds like the process is waiting for the kernel to respond and is stuck while the kernel is performing the call (most likely I/O problem or driver issue). If the kernel never finishes, the process will never exit, because otherwise it might leave the kernel in an undefined state.
|
|
Back to top |
|
 |
|
Posted: Mon, 23rd Jun 2014 17:51 Post subject: |
|
 |
Something like that I'm guessing.
But there needs to be some way to kill it or to stop getting stuck in the first place.
I can't ignore it either cos then I can't launch another.
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|