Re: running two servers on one machine
От | Eric Smith |
---|---|
Тема | Re: running two servers on one machine |
Дата | |
Msg-id | 9B49836A-2A87-4ABC-929C-D58D4638426D@mac.com обсуждение исходный текст |
Ответ на | Re: running two servers on one machine (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: running two servers on one machine
|
Список | pgsql-general |
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@mac.com> 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
В списке pgsql-general по дате отправления: