by golovinster » Mon Aug 04, 2014 1:13 am
have same problem. trying to run PGSL manually and get that message:
2014-08-04 11:02:14 YEKT FATAL: could not create shared memory segment: Invalid argument
2014-08-04 11:02:14 YEKT DETAIL: Failed system call was shmget(key=5432001, size=37969920, 03600).
2014-08-04 11:02:14 YEKT 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 37969920 bytes), reduce PostgreSQL's shared_buffers parameter (currently 4096) and/or its max_connections parameter (currently 104).
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.