LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 07: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, 09:39 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,369

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
Try a forced umount http://linux.die.net/man/8/umount
 
Old 02-22-2010, 11:29 AM   #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



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 10:17 AM
Zombie Process N|k0N Linux - Security 8 09-22-2007 02:01 AM
Zombie process - XMMS FeaRx Debian 3 11-04-2005 03:27 AM
Zombie process - gnomerc Artik Mandriva 0 05-10-2005 01:45 AM
zombie process ihatecomputers Linux - Software 2 03-24-2005 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 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
Open Source Consulting | Domain Registration