Search Postgresql Archives

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

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

 



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

-- 
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