Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running my donnet framework based application using mono in Linux Ubuntu. My application uses linphone's mediastream command to open the RTP socket and hook the audio device. I am using the following mediastream command to call from my application:

mediastream (arguments......)

Every thing is working fine but when i am trying to kill the mediastream using the killall command, it goes defunct. I am giving the following command from my application:

killall mediastream

What I am doing wrong? How can I handle those defunct processes?

share|improve this question
up vote 3 down vote accepted

Linphone's mediastream require CTRL+C (SIGINT) to close properly and killall default signal is SIGTERM. So you can try SIGINT signal in killall command as follows:

killall -SIGINT mediastream


killall -2 mediastream
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.