Sun Java System Web Proxy Server 4.0.8 Administration Guide

Setting the Termination Timeout

When the server is off, it stops accepting new connections. Then the server waits for all outstanding connections to complete. The time the server waits before timing out is configurable in the magnus.conf file. By default, this value is set to 30 seconds. To change the value, add the following line to magnus.conf file:

TerminateTimeout seconds

where seconds represents the number of seconds the server will wait before timing out.

The advantages to configuring this value is that the server will wait longer for connections to complete. However, because servers often have connections open from nonresponsive clients, increasing the termination timeout might increase the time necessary for the server to shut down.