Search Postgresql Archives

Re: running two servers on one machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That's it!

Log file says "could not create shared memory segment". It also says that I should change max_connections or shared_buffers.

Error message claims that max_connections is 23, but postgresql.conf has this listed as 20. Error message claims that shared_buffers is 300, but postgresql.conf has this listed as 2400kB.

What the heck is going on here? (no, the lines in the conf file are not commented out). How do I enforce the conf file entries?

Thanks,
Eric


On Mar 29, 2009, at 8:19 PM, Tom Lane wrote:

Eric Smith <eric_h_smith@xxxxxxx> writes:
Yes, if I start one, but not the other, the process works just great.
It's only when trying to run both that I have a problem.

Have you looked into the postmaster logfile?

One likely idea is that you don't have shmall cranked up high enough
for two servers, which'd result in something like

FATAL:  could not create shared memory segment: Cannot allocate memory

in the postmaster log.

			regards, tom lane


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux