@@ -167,39 +167,25 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, Size size)
167167IPC_CREAT |IPC_EXCL |IPCProtection ),
168168 (errno == EINVAL ) ?
169169errhint ("This error usually means that PostgreSQL's request for a shared memory "
170- "segment exceeded your kernel's SHMMAX parameter. You can either "
171- "reduce the request size or reconfigure the kernel with larger SHMMAX. "
172- "To reduce the request size (currently %lu bytes), reduce "
173- "PostgreSQL's shared memory usage, perhaps by reducing shared_buffers "
174- "or max_connections.\n"
175- "If the request size is already small, it's possible that it is less than "
176- "your kernel's SHMMIN parameter, in which case raising the request size or "
177- "reconfiguring SHMMIN is called for.\n"
170+ "segment exceeded your kernel's SHMMAX parameter, or possibly that "
171+ "it is less than "
172+ "your kernel's SHMMIN parameter.\n"
178173"The PostgreSQL documentation contains more information about shared "
179- "memory configuration." ,
180- (unsigned long )size ) :0 ,
174+ "memory configuration." ) :0 ,
181175 (errno == ENOMEM ) ?
182176errhint ("This error usually means that PostgreSQL's request for a shared "
183- "memory segment exceeded available memory or swap space, "
184- "or exceeded your kernel's SHMALL parameter. You can either "
185- "reduce the request size or reconfigure the kernel with larger SHMALL. "
186- "To reduce the request size (currently %lu bytes), reduce "
187- "PostgreSQL's shared memory usage, perhaps by reducing shared_buffers "
188- "or max_connections.\n"
177+ "memory segment exceeded your kernel's SHMALL parameter. You may need "
178+ "to reconfigure the kernel with larger SHMALL.\n"
189179"The PostgreSQL documentation contains more information about shared "
190- "memory configuration." ,
191- (unsigned long )size ) :0 ,
180+ "memory configuration." ) :0 ,
192181 (errno == ENOSPC ) ?
193182errhint ("This error does *not* mean that you have run out of disk space. "
194183"It occurs either if all available shared memory IDs have been taken, "
195184"in which case you need to raise the SHMMNI parameter in your kernel, "
196185"or because the system's overall limit for shared memory has been "
197- "reached. If you cannot increase the shared memory limit, "
198- "reduce PostgreSQL's shared memory request (currently %lu bytes), "
199- "perhaps by reducing shared_buffers or max_connections.\n"
186+ "reached.\n"
200187"The PostgreSQL documentation contains more information about shared "
201- "memory configuration." ,
202- (unsigned long )size ) :0 ));
188+ "memory configuration." ) :0 ));
203189}
204190
205191/* Register on-exit routine to delete the new segment */