initdb memory segment creation error - Mailing list pgsql-general

From questions
Subject initdb memory segment creation error
Date
Msg-id db346c9d0809102010g6739684exa58b06252f1449bb@mail.gmail.com
Whole thread Raw
Responses Re: initdb memory segment creation error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

I am getting this error with initdb while creating shared segment -
"memory segment exceeded available memory or swap space.  To reduce the request size (currently 1785856 bytes), reduce PostgreSQL's shared_buffers parameter (currently 50)) and/or its max_connections parameter (currently 13)."
Total memory is 256 MB and memory available to user processes is 178 MB. It's not an issue with shared segment exceeding SHMMAX but value of SHMMAX is 67108864 and SHMALL is 8192. It is not exactly a Postgresql problem but what am I missing here?

Thanks,

Fahad

pgsql-general by date:

Previous
From: Shane Ambler
Date:
Subject: Re: postgres user account on OSX
Next
From: kevin kempter
Date:
Subject: Re: postgres user account on OSX