Just in case someone would like to know ...

Here is an example of how the content of a DB_CONFIG file would look like:

set_lock_timeout         10
set_txn_timeout          10

Where each of the above lines has the format NAME VALUE. One or more whitespace 
characters are used to delimit the two parts of the line, and trailing 
whitespace characters are discarded.
You may have a DB_CONFIG file (with the same or different content) at one or 
more locations of your repositories, e.g.:

..\Repositories\Library\
..\Repositories\Site\
..\Repositories\Session\

Please note that the timeouts are in microseconds and the default values are 0.

Steve.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Dang
Sent: Monday, June 09, 2008 8:06 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Berkeley DB Configuration File

No, I haven't and don't. Some information on how to overwrite the lock and/or 
transaction timeouts:

http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_timeout.html

Steve.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans
Sent: Monday, June 09, 2008 2:24 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Berkeley DB Configuration File

Have you had the need to change the time out settings yourself or do you know 
of anyone that has done it? Any info on this topic would be great.

The Rock

On Mon, Jun 9, 2008 at 12:12 PM, Steve Dang <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:

MG does not expose any BDB configuration settings in the severconfig.ini file. 
And yes, the DB_CONFIG file may be used to overwrite the default values of 
these settings.



Steve.



From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Rock Beans
Sent: Monday, June 09, 2008 10:26 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Berkeley DB Configuration File



Has anyone done anything with timeout settings using a Berkeley DB 
configuration file? Is there a better way to increase timeout settings? I did 
not see anything in the serverconfig.ini file.

I've never tried this, but Berkeley DB can support a configuration file:

http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html

http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_list.html

It's possible that maybe one of the default parameters could be increased.





The Rock



_______________________________________________
mapguide-users mailing list
[email protected]<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to