To resolve a record lock issue when user is no longer connected to the database:
0. Disconnect all current usersOptionally and preferably disconnect all current client processes before shutting down the database. This allows users with running transactions to either commit or rollback before shutting down the database. The following Article provides ABL code to run the 'proshut -C disconnect' os-command:
1. Shutdown the database.
$ proshut dbname -by -shutdownTimeout 5m
This will result in all remaining client processes being disconnected from the database and subsequently all locks or resources in use will be released.
2. Before restarting the databaseEnsure the process is no longer
holding semaphores and shared memory segments for the user session. Refer to one of the following articles: