June 2001
Intermediate to advanced
688 pages
19h 18m
English
The Berkeley DB server utility, berkeley_db_svc, handles all the client application requests.
Currently, the berkeley_db_svc utility is single-threaded, limiting the number of requests that it can handle. Modifying the server implementation to run in multithread or multiprocess mode requires modification of the server code automatically generated by the rpcgen program.
There are two different types of timeouts used by berkeley_db_svc. The first timeout (which can be modified within some constraints by the client application), is the resource timeout. When clients use transactions or cursors, those resources hold locks in Berkeley DB across calls to the server. If a client application dies or loses its connection to the server ...