Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic
Дата
Msg-id 4AA62105.9070105@archonet.com
обсуждение исходный текст
Ответ на Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic  (Markus Pscheidt <markus.pscheidt@gmail.com>)
Список pgsql-general
Markus Pscheidt wrote:
> Hello,
>
> while on Ubuntu kernel 2.6.28-14-generic Postgres 8.3.7-1 works fine, it
> doesn't start on Ubuntu 9.04, kernel 2.6.28-15-generic. Following is the log
> output of 'sudo /etc/init.d/postgresql-8.3 start':

> 2009-09-08 08:17:52 CAT FATAL:  could not create shared memory segment:
> Invalid argument

> parameter.  You can either reduce the request size or reconfigure the kernel
> with larger SHMMAX.  To reduce the request size (currently 38207488 bytes),
> reduce PostgreSQL's shared_buffers parameter (currently 4096) and/or its
> max_connections parameter (currently 103).

Your new kernel seems to have a smaller setting for its shared memory
limits than your old kernel. Or perhaps something else is using more of
it. See the manuals for details on how to set a higher limit in
/etc/sysctl.conf and see if that does it.

--
  Richard Huxton
  Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: How to store data on an external drive
Следующее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: Fail to start Postgres on Ubuntu kernel 2.6.28-15-generic