LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-21-2010, 08:02 PM   #1
kronesr
LQ Newbie
 
Registered: Dec 2007
Posts: 15

Rep: Reputation: 0
Freeing I/O resource held by zombie process


Hi!

I'm writting a program that uses a USB webcam. Sometimes the program crashes and exits, but sometimes it crashes and becomes a zombie process, which I can't kill even with -9/-KILL signal. When that happens, all access to the USB webcam is totally interrupted and all attempts to communicate with it fail.
I'm looking for a way to either force this process to terminate or to at least make it release the webcam so I can use it again. So far, the only way I've found to regain control of the camera is to reboot.
Thanks on any advance
Krones
 
Old 02-21-2010, 10:39 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Try a forced umount http://linux.die.net/man/8/umount
 
Old 02-22-2010, 12:29 PM   #3
kronesr
LQ Newbie
 
Registered: Dec 2007
Posts: 15

Original Poster
Rep: Reputation: 0
The webcam isn't a mountable device, you stream from it
 
  


Reply

Tags
io, kill, process, usb


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to kill zombie process bharatlalgupta Red Hat 1 06-18-2009 11:17 AM
Zombie Process N|k0N Linux - Security 8 09-22-2007 03:01 AM
Zombie process - XMMS FeaRx Debian 3 11-04-2005 04:27 AM
Zombie process - gnomerc Artik Mandriva 0 05-10-2005 02:45 AM
zombie process ihatecomputers Linux - Software 2 03-24-2005 08:09 AM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
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