Db2 crashes on RHEL 7.2
IBM® Db2® servers might crash when the RemoveIPC option for Red Hat® Enterprise Linux® 7.2 is set to yes.
Problem
The logind.conf file for RHEL contains the option RemoveIPC. That option controls whether System V and POSIX IPC objects that belong to the user are removed when the user logs out. For RHEL 7.2, RemoveIPC is set to yes by default, which can cause the Db2 database to crash every time a database administrative task cron session finishes.
When Db2 crashes, you might see the following message in the db2diag.log file:
MESSAGE: Unexpected OS error. This most likely means that resources have been
torn down from underneath the prefetcher. Terminating the prefetcher
to prevent infinite looping. Action
To resolve this problem, complete the following steps:
- On the computer where RHEL 7.2 and Db2 is installed, open /etc/systemd/logind.conf in a text editor.
- Set RemoveIPC to no.
- Save the file.
For more information about this problem, see
Applications using IPC (semaphores, shared memory, message queues) have problems after update to
RHEL 7.2.