LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-14-2010, 11:33 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

Rep: Reputation: 17
how to kill or clean a Uninterruptible slept session leader process from process tabl


hello
Hello
I have a big problem with one of my processes named "mbusd" ;it is an opensource modbus RTU/TCP gateway when I plug USB to serial convertor to it my laptop without this process linux makes virtual ttyUSB very fine and when I unplug it removes except those times that I run mbusd process to work with, at that time during mbusd process work when I unplug USB/serial converter the virtual ttyUSB does not disappear and mbusd does not exit too and it turnes in something like this when I get ps -aux| grep mbusd :
root 1620 32.9 0.0 0 0 ? Ds Oct19 6676:21 [mbusd] [defunc]
that Ds stand for :
D Uninterruptible sleep (usually IO)
s is a session leader
I found that it is wainting for an I/O. BUT I unpluged the modbus serial/USB converter and as I checked there is it's virtual tty yet:
ls /dev/ttyUSB*
/dev/ttyUSB0
at this time I can not even kill it with -9 or -15 signals and pluging back the converter does not solve the problem too and mbusd does not exit or start to run again. the only way to scape from this situation I found is to restarting the system, that is a terrible solution. what can I do to solve this.how can I free it's I/O, I think if I could do it I think it will exit by itself.

Thanks a lot.
 
Old 12-14-2010, 11:47 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
If plugging the converter back in does not work then your only option is to reboot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a child process kill the parent process ? sree_ec Programming 8 11-20-2010 06:37 AM
how to clear Uninterruptible process( D ) LinuxLover Linux - Server 1 05-20-2010 09:55 AM
bash `kill`: process 'B' silently dies; but process 'A' = `kill` spews back debris! GrapefruiTgirl Programming 9 06-23-2009 10:42 AM
How to get the PID of the process giving kill signal to a process? hariprd Programming 2 11-27-2008 04:10 AM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 04:47 AM


All times are GMT -5. The time now is 06:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration