From: | Jerry LeVan <jerry(dot)levan(at)eku(dot)edu> |
---|---|
To: | Jerry LeVan <jerry(dot)levan(at)eku(dot)edu> |
Cc: | Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: OSX 10.3.7 broke Postgresql 8.0.0b5? |
Date: | 2004-12-17 21:12:44 |
Message-ID: | 65424950-5070-11D9-B3DF-000393779D9C@eku.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Ok, I got postgres to start...
I used these settings.
kern.sysv.shmmax: 167772160
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 65536
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
On Dec 17, 2004, at 3:41 PM, Jerry LeVan wrote:
> I *think* the 10.3.7 upgrade broke my postgresql implementation...
>
> I am getting this error at startup.
>
> FATAL: could not create shared memory segment: Cannot allocate memory
> DETAIL: Failed system call was shmget(key=5432001, size=10403840,
> 03600).
> HINT: This error usually means that PostgreSQL's request for a shared
> memory segment exceeded available memory or swap space. To reduce the
> request size (currently 10403840 bytes), reduce PostgreSQL's
> shared_buffers parameter (currently 1000) and/or its max_connections
> parameter (currently 100).
> The PostgreSQL documentation contains more information about
> shared memory configuration.
>
> The first time I noticed the problem I found that the shmmax was set
> low
> at a bit more than 4MB ( perhaps the upgrade replaced /etc/rc ).
>
> I increased the shmmax to about 64MB and still get the same error.
>
> Here are the current kernel settings
>
> kern.sysv.shmmax: 67108864
> kern.sysv.shmmin: 1
> kern.sysv.shmmni: 32
> kern.sysv.shmseg: 8
> kern.sysv.shmall: 1024
> kern.sysv.semmni: 87381
> kern.sysv.semmns: 87381
> kern.sysv.semmnu: 87381
> kern.sysv.semmsl: 87381
> kern.sysv.semume: 10
>
> Do I need to increase anything else?
>
> I am on the digest, if someone knows the answer please CC to me also...
>
> Jerry
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-12-17 21:16:06 | Re: sorting problem |
Previous Message | Bruno Wolff III | 2004-12-17 21:12:18 | Re: sorting problem |