PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Fix Released
|
Critical
|
Jonathan Harker |
Bug Description
All the logs: http://
Full devstack log: http://
snippet:
2014-08-12 17:16:59.790 | + restart_service postgresql
2014-08-12 17:16:59.790 | + is_ubuntu
2014-08-12 17:16:59.790 | + [[ -z deb ]]
2014-08-12 17:16:59.790 | + '[' deb = deb ']'
2014-08-12 17:16:59.790 | + sudo /usr/sbin/service postgresql restart
2014-08-12 17:16:59.800 | * Restarting PostgreSQL 9.1 database server
2014-08-12 17:17:01.371 | * The PostgreSQL server failed to start. Please check the log output:
2014-08-12 17:17:01.371 | 2014-08-12 17:17:01 UTC FATAL: could not create shared memory segment: Invalid argument
2014-08-12 17:17:01.371 | 2014-08-12 17:17:01 UTC DETAIL: Failed system call was shmget(key=5432001, size=36954112, 03600).
2014-08-12 17:17:01.371 | 2014-08-12 17:17:01 UTC HINT: This error usually means that PostgreSQL's request for a shared memory segment exceeded your kernel's SHMMAX parameter. You can either reduce the request size or reconfigure the kernel with larger SHMMAX. To reduce the request size (currently 36954112 bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections.
2014-08-12 17:17:01.371 | 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.
2014-08-12 17:17:01.371 | The PostgreSQL documentation contains more information about shared memory configuration.
2014-08-12 17:17:01.371 | ...fail!
2014-08-12 17:17:01.372 | + exit_trap
Changed in openstack-ci: | |
assignee: | Jeremy Stanley (fungi) → Jonathan Harker (jesusaurus) |
no longer affects: | devstack |
Related fix proposed to branch: master /review. openstack. org/113634
Review: https:/