LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Freeing I/O resource held by zombie process (https://www.linuxquestions.org/questions/linux-software-2/freeing-i-o-resource-held-by-zombie-process-790644/)

kronesr 02-21-2010 07:02 PM

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

chrism01 02-21-2010 09:39 PM

Try a forced umount http://linux.die.net/man/8/umount

kronesr 02-22-2010 11:29 AM

The webcam isn't a mountable device, you stream from it


All times are GMT -5. The time now is 01:33 AM.