Thank you!<br><br><div class="gmail_quote">On Tue, Jun 10, 2008 at 1:38 PM, Steve Dang &lt;<a href="mailto:steve.dang@autodesk.com">steve.dang@autodesk.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p>Just in case someone would like to know …</p>

<p>&nbsp;</p>

<p>Here is an example of how the content of a DB_CONFIG file would
look like:</p>

<p>&nbsp;</p>

<p><span style="color: red;">set_lock_timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10</span></p>

<p><span style="color: red;">set_txn_timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10</span></p>

<p>Where each of the above lines has the format <b><span style="color: red;">NAME
VALUE</span></b>. One or more whitespace characters are used to delimit the two
parts of the line, and trailing whitespace characters are discarded.</p>

<p>You may have a DB_CONFIG file (with the same or different
content) at one or more locations of your repositories, e.g.: </p>

<p style="">&nbsp;</p>

<p style="">..\Repositories\Library\</p>

<p style="">..\Repositories\Site\</p>

<p style="">..\Repositories\Session\</p>

<p>&nbsp;</p>

<p>Please note that the timeouts are in microseconds and the default
values are 0.</p>

<p>&nbsp;</p>

<p>Steve.</p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Steve Dang<br>
<b>Sent:</b> Monday, June 09, 2008 8:06 PM<div class="Ih2E3d"><br>
<b>To:</b> MapGuide Users Mail List<br>
</div><b>Subject:</b> RE: [mapguide-users] Berkeley DB Configuration File</span></p>

</div>

</div><div><div></div><div class="Wj3C7c">

<p>&nbsp;</p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">No, I haven't and don't. Some information on how to
overwrite the lock and/or transaction timeouts:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_timeout.html" target="_blank">http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_timeout.html</a></span></p>


<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Steve.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Rock Beans<br>
<b>Sent:</b> Monday, June 09, 2008 2:24 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] Berkeley DB Configuration File</span></p>

</div>

<p>&nbsp;</p>

<p style="margin-bottom: 12pt;">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.<br>
<br>
The Rock<br>
<br>
</p>

<div>

<p>On Mon, Jun 9, 2008 at 12:12 PM, Steve Dang &lt;<a href="mailto:steve.dang@autodesk.com" target="_blank">steve.dang@autodesk.com</a>&gt; wrote:</p>

<div>

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">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.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Steve.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Rock Beans<br>
<b>Sent:</b> Monday, June 09, 2008 10:26 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> [mapguide-users] Berkeley DB Configuration File</span></p>

</div>

<div>

<div>

<p>&nbsp;</p>

<p style="margin-bottom: 12pt;">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.</p>

<p><span style="color: rgb(31, 73, 125);">I&#39;ve never tried this, but Berkeley DB can
support a configuration file:</span></p>

<p><span style="color: rgb(31, 73, 125);"><a href="http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html" target="_blank">http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html</a></span></p>


<p><span style="color: rgb(31, 73, 125);"><a href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_list.html" target="_blank">http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_list.html</a></span></p>


<p><span style="color: rgb(31, 73, 125);">It&#39;s possible that maybe one of the default
parameters could be increased.</span></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>The Rock</p>

<p>&nbsp;</p>

</div>

</div>

</div>

</div>

<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a></p>

</div>

<p>&nbsp;</p>

</div></div></div>

</div>


<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br>