Re: postgres/shm problem

Nils Philippsen (nils@fht-esslingen.de)
Mon, 8 Jan 2001 11:46:05 +0100 (CET)


Hi,

On Mon, 8 Jan 2001, Narancs 1 wrote:

> Lots of things may have changed in 2.4.0-prer., because nor cdrecord
> neither postgressql do not run because of system v ipc / shm problem.
> After recompiling cdrecord with the new header files, started working.
> I'm just recompiling postgres too.
>
> /var/log/postgresql.log:
>
> 010102.10:45:09.448 [627] IpcMemoryCreate: shmget failed (No space left
> on device) key=5432010, size=144, permission=700
> This type of error is usually caused by an improper
> shared memory or System V IPC semaphore configuration.

I had the same problem on my machine and it stemmed from accidentally setting
/proc/sys/kernel/shmall to "0" (that is the maximum number of SHM segments).
In my cas I used some /psoc/sys tweaking utility at a time where this value
was unknown (other kernel) and that utility then set kernel.shmall in
/etc/sysctl.conf to 0. You might check that.

Nils

-- 
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
nils@wombat.dialup.fht-esslingen.de / nils@fht-esslingen.de / nils@redhat.de
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.                  -- Edsger W. Dijkstra

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/