[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Timeouts...

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2003-02-04 21:08:56 CET

Michael Price wrote:

>Brandon Ehle writes:
> > This is the first I've seen anyone reporting these problems on a
> > non-RedHat box. Before you change your db version, could you try this
> > patch and see what happens?
> >
> > Index: subversion/libsvn_fs/fs.c
> > ===================================================================
> > --- subversion/libsvn_fs/fs.c (revision 4721)
> > +++ subversion/libsvn_fs/fs.c (working copy)
> > @@ -163,7 +163,7 @@
> >
> > /* Checkpoint any changes. */
> > {
> > - int db_err = env->txn_checkpoint (env, 0, 0, 0);
> > + int db_err = env->txn_checkpoint (env, 8000, 60, 0);
> >
> > #if SVN_BDB_HAS_DB_INCOMPLETE
> > while (db_err == DB_INCOMPLETE)
>
>This is just a "curiousity" question, not a "what are you talking about"
>question... but how does only checkpointing if you've written 8MB or its
>been 1 hour since the last checkpoint solve timeout problems?
>
>
Actually, a better test for this would be to only run txn_checkpoint()
after the repository has 0 active connections (might have to delay a bit
to verify that no connections are in the process of opening).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 4 21:18:12 2003

This is an archived mail posted to the Subversion Dev mailing list.