Was vorstellbar ist, ist auch machbar.
Kostenfrei: 0800 - 54 800 54


Fehlermeldung beim Start von PostgreSQL. Cannot allocate memory [gelöst]

FATAL: could not create shared memory segment: Cannot allocate memory
DETAIL: Failed system call was shmget(key=5432002, size=30515200, 03600).
HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory or swap space, or exceeded your kernel's SHMALL parameter. You can either reduce the request size or reconfigure the kernel with larger SHMALL. To reduce the request size (currently 30515200 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections.
The PostgreSQL documentation contains more information about shared memory configuration.

sysctl -w kern.sysv.shmall=32768

Schreiben Sie einen Kommentar