On Sat, May 1, 2010 at 1:31 AM, John Gilmore
<address@hidden> wrote:
> I suspect that some resource, perhaps file descriptors, are "leaking" on
> each iteration of the
> scan. Possibly because the device is being re-instantiated on every
> iteration?
You can easily see if file descriptors are leaking.
While it's running, from another terminal window, just do
ls -l /proc/NNNNN/fd, where NNNNN is the process ID. This will
list all the file descriptors and what they're used for. If there
are hundreds, there's your problem.
John