Shutdown improvements in OpenEdge 10.2B and later introduced the -shutdownTimeout parameter
- When not otherwise specified default of 10 minutes is used.
- The shutdown timeout limits how long the PROSHUT process will wait for the database activity to end. The advantage is to assure remaining connections terminate gracefully allowing transactions to complete and therefore reducing bi recovery time when the database is next opened.
- If all normal activity ceases before the timeout value is reached, normal shutdown proceeds.
- When the timeout expires, the shutdown process terminates remaining sessions within 60 seconds
The timeout values for the -shutdownTimeout parameter:
-shutdownTimeout [ immed | maximum | n [ h | m | s]]
Where:
- immed - Shutdown occurs in approximately 60 seconds, regardless of transaction backout status.
- maximum - Shutdown occurs in a maximum of 24 hours.
- n - Specifies the shutdown timeout value in seconds 60 - 86400
- ns - Specifies the shutdown timeout value in seconds 60 - 86400
- nm - Specifies the shutdown timeout value in minutes 1 - 1440
- nh - Specifies the shutdown timeout value in hours 1 - 24
Additional Considerations:
- The -shutdownTimeout parameter is ignored when forced shutdown (-F) is specified.
- DBMAN does not recognise the -shutdownTimeout parameter, only PROSHUT. The shutdown improvements in 10.2B will limit the DBMAN normal shutdown time to the default of 10 minutes.