Core Dump Occurs when RemoveIPC Is Enabled

Symptom

The RemoveIPC parameter in the OS configuration is set to yes. The database breaks down during running, and the following log information is displayed:

FATAL: semctl(1463124609, 3, SETVAL, 0) failed: Invalid argument

Cause Analysis

If RemoveIPC is set to yes, the OS deletes the IPC resources (shared memory and semaphore) when the corresponding user exits. As a result, the IPC resources used by the openGauss server are cleared, causing the database to break down.

Procedure

Set RemoveIPC to no. For details, see Preparing for Installation > Preparing the Software and Hardware Installation Environment > Modifying OS Configuration in the Installation Guide.

Feedback
编组 3备份
    openGauss 2024-05-06 00:44:54
    cancel