![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FATAL: could not create shared memory segment: Cannot allocate memory DETAIL: Failed system call was shmget(key=1, size=1081344, 03600). |
#3
| |||
| |||
|
|
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes: FATAL: could not create shared memory segment: Cannot allocate memory DETAIL: Failed system call was shmget(key=1, size=1081344, 03600). You need to increase SHMMAX. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your message can get through to the mailing list cleanly |
#4
| |||
| |||
|
|
After about two hours of hunting pecking and anything else I found where you control this in OSX 10.3 you must edit the /etc/rc file. /System/Library/StartupItems/SystemTuning/SystemTuning does nothing.... |
#5
| |||
| |||
|
|
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes: After about two hours of hunting pecking and anything else I found where you control this in OSX 10.3 you must edit the /etc/rc file. /System/Library/StartupItems/SystemTuning/SystemTuning does nothing.... Should we update the documentation's advice? At present, it suggests: MacOS X Edit the file /System/Library/StartupItems/SystemTuning/SystemTuning and change the following values: sysctl -w kern.sysv.shmmax sysctl -w kern.sysv.shmmin sysctl -w kern.sysv.shmmni sysctl -w kern.sysv.shmseg sysctl -w kern.sysv.shmall (Without a Mac OSX box, I have no idea which is correct.) -Neil |
#6
| |||
| |||
|
|
Should we update the documentation's advice? |
#7
| |||
| |||
|
|
Neil Conway <neilc (AT) samurai (DOT) com> writes: Should we update the documentation's advice? Looks that way. On my 10.3 beta installation, the "SystemTuning" file is present but it's just a stub ("exit 0"). The shmem sysctl calls have been moved into /etc/rc. I presume this is deliberate, so we should adjust our docs to match. I'll do so ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org |
#8
| |||
| |||
|
|
I find it difficult to understand exactally what reasonable values are. |
![]() |
| Thread Tools | |
| Display Modes | |
| |