So I ran the tests again twice with a huge timeout and it managed to run in just under 3 hours both times.  So this issue is definitely related to the timeouts.  It might be worth changing the default timeouts for Perl to match the infinite timeouts for Python.  Thanks for the quick responses.

-e

On Thu, Oct 15, 2009 at 2:48 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
Are you also using Perl?

On Thu, Oct 15, 2009 at 1:38 PM, Anthony Molinaro
<anthonym@alumni.caltech.edu> wrote:
> I see a similar thing happening all the time.  I get around it by closing
> the current connection and reconnecting after a sleep.  Although I am able
> to do quite a few inserts between errors, so I'm not sure if it's the
> exact problem.
>
> -Anthony