How do I set the timeout period of the Z39.50 server?
- Product: Voyager
- Product Version: 7.2.5
Question
How to configure the Z39.50 server to time out idle connections at a different point than the out-of-the-box default of 60 minutes?
Answer (where xxxdb is the Voyager Database Instance)
- On the server, in /m1/voyager/xxxdb/ini/z3950svr.ini, add or change a line like the following, specifying the number of seconds after which the Z39.50 server should terminate idle connections:
TimeOut=60
- Kill all running z3950 server processes.
- Run the /m1/voyager/xxxdb/sbin/Pz3950svr script to restart the master server (or simply wait until the server goes through its nightly restart).
Always monitor the effects on your services when you make such a change.
Additional Information
The default timeout period is 3600 seconds or one hour.
Voyager servers by default have Z39.50 server running, however, firewall rules may need to be modified to allow search and retrieval.
This setting works in tandem with the number of maximum Z39.50 connections ("sessions") allowed. See: Is it possible to change maximum connections for z39.50 server? How?
- Article last edited: 08-Oct-2020