I've got a problem...
I have a process run from cron that hangs in an uninterruptible sleep.
It reads data from a webcam, and writes to a tmpfs partition.
This process runs every 15 minutes; and most of the time it will run just fine, but once in a while, it hangs. Then cron runs it again, and it hangs again. Pretty soon I have a bunch of hung processes that consume all resources, and for all practical purposes my little system is dead.
The frustrating thing is that it happens rarely; the process runs every 15 minutes and sometimes it will run for days just fine, and then it will start hanging.
Is there some way to find out where the process is hung after it is hung up?
The program is spcacat, a very simple snapshot util for webcams using the spca driver: . Anyone have any suggestions? I have 3 weeks to get this up and running, and that doesn't give me much time....
--Yan