我在 16GB 的 Linode(Ubuntu 12.04 32 位)上运行专用的 PostgreSQL。我试过使用 pgtune,但我会遇到共享内存错误。IE
The PostgreSQL server failed to start. Please check the log output:
2014-02-10 08:32:39 EST FATAL: could not create shared memory segment: Invalid argument
2014-02-10 08:32:39 EST DETAIL: Failed system call was shmget(key=5432001, size=4107419648, 03600).
2014-02-10 08:32:39 EST 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 …Run Code Online (Sandbox Code Playgroud)