1<!--$Id: berkeley_db_svc.so,v 10.17 2006/10/05 01:06:08 bostic Exp $-->
2<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
3<!--See the file LICENSE for redistribution information.-->
4<html>
5<head>
6<title>Berkeley DB: berkeley_db_svc</title>
7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
9</head>
10<body bgcolor=white>
11<table width="100%"><tr valign=top>
12<td>
13<b>berkeley_db_svc</b>
14</td>
15</tr></table>
16<hr size=1 noshade>
17<tt>
18<b><pre>berkeley_db_svc [<b>-Vv</b>] [<b>-h home</b>]
19    [<b>-I seconds</b>] [<b>-L file</b>] [<b>-t seconds</b>] [<b>-T seconds</b>]</pre></b>
20<b>Description</b>
21<a name="2"><!--meow--></a>
22<p>The berkeley_db_svc utility is the Berkeley DB RPC server.</p>
23<p>The options are as follows:</p>
24<br>
25<b>-h</b><ul compact><li>Add the specified home directory to the list of allowed home directories
26that can be specified by the client.  The home directory should be an
27absolute pathname.  The last component of each home directory specified
28must be unique because that is how clients specify which database environment
29they want to join.
30<p>Recovery will be run on each specified environment before the server
31begins accepting requests from clients.  For this reason, only one copy
32of the server program should ever be run at any time because recovery
33must always be single-threaded.</p></ul>
34<b>-I</b><ul compact><li>Set the default idle timeout for client environments to the specified
35number of seconds.  The default timeout is 24 hours.</ul>
36<b>-L</b><ul compact><li>Log the execution of the berkeley_db_svc utility to the specified file in the
37following format, where <i>###</i> is the process ID, and the date
38is the time the utility was started.
39<blockquote><pre>berkeley_db_svc: ### Wed Jun 15 01:23:45 EDT 1995</pre></blockquote>
40This file will be removed if the berkeley_db_svc utility exits gracefully.</ul>
41<b>-t</b><ul compact><li>Set the default timeout for client resources (idle transactions and
42cursors) to the specified number of seconds.  When the timeout expires,
43if the resource is a transaction, it is aborted; if the resource is a
44cursor, it is closed.  The default timeout is 5 minutes.</ul>
45<b>-T</b><ul compact><li>Set the maximum timeout allowed for client resources.  The default
46timeout is 20 minutes.  If a client application requests a server
47timeout greater than the maximum timeout set for this server, the
48client's timeout will be capped at the maximum timeout value.</ul>
49<b>-V</b><ul compact><li>Write the library version number to the standard output, and exit.</ul>
50<b>-v</b><ul compact><li>Run in verbose mode.</ul>
51<br>
52<p>The berkeley_db_svc utility exits 0 on success, and &gt;0 if an error occurs.</p>
53<br><b>Environment Variables</b>
54<br>
55<b>DB_HOME</b><ul compact><li>If the <b>-h</b> option is not specified and the environment variable
56DB_HOME is set, it is used as the path of the database home, as described
57in <a href="../api_c/env_open.html">DB_ENV-&gt;open</a>.</ul>
58<br>
59</tt>
60<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
61</body>
62</html>
63