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

Re: Timeouts...

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-02-04 20:44:10 CET

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 4 20:46:47 2003

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