Re: shmget fails for min buffers of postmaster also on solaris 7 .....

From: Thomas Mack <mack(at)ips(dot)cs(dot)tu-bs(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: shmget fails for min buffers of postmaster also on solaris 7 .....
Date: 2000-09-18 08:32:35
Message-ID: 200009180832.KAA25125@infbsdb1.idb.cs.tu-bs.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
>Then I have read the POSTGRES on SOLARIS and other
>FAQ's and then edited the /etc/system file and added
>the following entries to increase the shared memory
>size to 128MB.
>
>********
>set shmsys:shminfo_shmmax=268435456
>set shmsys:shminfo_shmmin=200
>set shmsys:shminfo_shmmni=200
>set shmsys:shminfo_shmseg=200
>set semsys:seminfo_semmap=250
>set semsys:seminfo_semmni=500
>set semsys:seminfo_semmns=500
>set semsys:seminfo_semmsl=500
>set semsys:seminfo_semmnu=500
>set semsys:seminfo_semume=100
>********
>
>Inspite of this I am unable to start the postmaster.

Well, we had similar problems on Solaris 5.6 some time before.
I think we had to add the following lines to /etc/system to make
it work:

forceload: sys/semsys
forceload: sys/shmsys

So we have the following lines added to /etc/system, although
I am no longer clear about what of these was necessary to start
postgres:

forceload: sys/semsys
forceload: sys/shmsys
set shmsys:shminfo_shmmax=268435456
set shmsys:shminfo_shmseg=20
set semsys:seminfo_semmap=250
set semsys:seminfo_semmni=500
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=500
set semsys:seminfo_semmnu=500
set semsys:seminfo_semume=100
set semsys:seminfo_semmni=200

Thomas Mack
TU Braunschweig, Abt. Informationssysteme

Browse pgsql-sql by date

  From Date Subject
Next Message Jie Liang 2000-09-18 17:05:34 info about tables
Previous Message Dronamraju Rajesh 2000-09-18 07:53:58 shmget fails for min buffers of postmaster also on solaris 7 .....