Skip to content

Instantly share code, notes, and snippets.

@zadunn
Created August 2, 2016 22:26
Show Gist options
  • Save zadunn/f8d5c63a48646e5c783d82e9007c6b07 to your computer and use it in GitHub Desktop.
Save zadunn/f8d5c63a48646e5c783d82e9007c6b07 to your computer and use it in GitHub Desktop.
[2016-08-02T22:25:45.876Z] ERROR: manatee-sitter/cluster/9639 on 9a1b7646-92e1-4d09-ad4b-a31e1e20554b (/opt/smartdc/manatee/node_modules/manatee/node_modules/manatee-state-machine/lib/manatee
-peer.js:1088 in finishPgApply):
applying pg config: postgres exited unexpectedly (code 1); stdout = , stderr = 2016-08-02 22:25:38.767 UTCFATAL: could not create shared memory segment: Invalid argument
2016-08-02 22:25:38.767 UTCDETAIL: Failed system call was shmget(key=5432001, size=2262786048, 03600).
2016-08-02 22:25:38.767 UTCHINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the reques
t size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 2262786048 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or m
ax_connections.
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration.
--
VError: applying pg config: postgres exited unexpectedly (code 1); stdout = , stderr = 2016-08-02 22:25:38.767 UTCFATAL: could not create shared memory segment: Invalid argument
2016-08-02 22:25:38.767 UTCDETAIL: Failed system call was shmget(key=5432001, size=2262786048, 03600).
2016-08-02 22:25:38.767 UTCHINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the reques
t size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 2262786048 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or m
ax_connections.
If the request size is already small, it's possible that it is less than your kernel's SHMMIN parameter, in which case raising the request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about shared memory configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment