Datacom Server hangs after EOJ to shutdown the region
search cancel

Datacom Server hangs after EOJ to shutdown the region

book

Article ID: 69492

calendar_today

Updated On:

Products

Datacom Datacom/Server DATACOM - AD Datacom/DB Datacom/AD

Issue/Introduction

The Datacom Server region hangs after running SVCOMPR program with an EOJ command to shutdown the region.

Environment

Datacom/Server 

Cause

If there is a server task with an active request in MUF when you EOJ, the Datacom Server waits until a response is received. Then, it will shut down. 

If there is a server connection which is idle (connection is open but waiting for a response from the client) then Datacom Server will terminate it after an EOJ.

Resolution

To diagnose the problem it is necessary to see what is running before the EOJ is issued.

Add the following commands before the EOJ to help diagnose the problem: 

STATUS
DB_THREADS
TRACEON
EOJ

Also make sure TIMEOUT and TIMEOUTWAIT are specified in the Server startup parameters to terminate idle connections.

TIMEOUT will terminate an idle connection but only if there is some activity in the Server. 

Specifying TIMEOUTWAIT will wake up an inactive Server to see if something needs to be timed out. It should be set to just a bit longer than TIMEOUT.

Additional Information

See documentation section Communication Utility (SVCOMPR)