Guest User

Untitled

a guest
Jul 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. Failed system call was shmget(key=5432001, size=16498688, 03600).
  2. 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 16498688 bytes), reduce PostgreSQL's shared_buffers parameter (currently 1536) and/or its max_connections parameter (currently 104).
  3. 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.
  4. The PostgreSQL documentation contains more information about shared memory configuration.
  5.  
  6. kern.sysv.shmmax=1610612736
  7. kern.sysv.shmmin=1
  8. kern.sysv.shmmni=256
  9. kern.sysv.shmseg=64
  10. kern.sysv.shmall=393216
  11.  
  12. kern.sysv.shmmax=268435456
  13.  
  14. sudo sysctl -w kern.sysv.shmmax=16777216
  15. sudo sysctl -w kern.sysv.shmall=4096
  16.  
  17. kern.sysv.shmmax=16777216
  18. kern.sysv.shmall=4096
Add Comment
Please, Sign In to add comment