On Wed, Nov 25, 2009 at 2:23 PM, Paul Davis <[email protected]> wrote:
> IANAPM, but if $dbh is holding an open connection you could very well
> trigger this quite easily. Can you try replacing the sleep($secs) with
> something like $dbh->close()?

I don't believe Net::CouchDB has a close method.

> Any easy way to check this is to watch
> `netstat -tap tcp` and see if the number of sockets on either machine
> is growing monotonically.

I did this and it simply held one tcp connection open, which is what I
suspected would happen since the connection is made outside the loop.


-- 
Jeff Macdonald
Ayer, MA

Reply via email to