From: Dave Haywood <tla@oak.selfip.net>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: PROBLEM: Postgres fails to start due to kernel issue?
Date: Fri, 20 Jan 2012 00:45:05 +0000 [thread overview]
Message-ID: <4F18B911.2060601@oak.selfip.net> (raw)
Hi,
I noticed after upgrading to 3.2.0-08812-gc2bc3a3 that Postgres-9.1 server fails to start with error:
FATAL: could not create shared memory segment: Function not implemented
DETAIL: Failed system call was shmget(key=5432001, size=30523392, 03600).
After some googling, I thought it was a SYSV shared memory sizing issue but manually changing kernel.shmmax and kernel.shmall had no effect.
The problem has been introduced between 3.2.0-08694-g53999bf and 3.2.0-08812-gc2bc3a3.
Let me know if you need any more information. Bisecting is *very* slow on this machine!
Broken version (latest):
$ sudo sh scripts/ver_linux
Linux s1 3.2.0-09429-g90a4c0f #133 SMP Thu Jan 19 15:17:03 GMT 2012 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Gnu C 4.6.2
Gnu make 3.82
binutils 2.21.1
util-linux 2.19.1
mount support
module-init-tools 3.16
e2fsprogs 1.41.14
Linux C Library 2.14.1
Dynamic linker (ldd) 2.14.1
Procps 3.2.8
Net-tools 1.60_p20110409135728
Kbd 1.15.3wip
Sh-utils 8.7
$ sudo sysctl -a | grep shm
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096
kernel.shm_rmid_forced = 0
vm.hugetlb_shm_group = 0
Working version (last good backup):
$ sudo sh scripts/ver_linux
Linux s1 3.2.0 #124 SMP Thu Jan 5 08:06:00 GMT 2012 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Gnu C 4.6.2
Gnu make 3.82
binutils 2.21.1
util-linux 2.19.1
mount support
module-init-tools 3.16
e2fsprogs 1.41.14
Linux C Library 2.14.1
Dynamic linker (ldd) 2.14.1
Procps 3.2.8
Net-tools 1.60_p20110409135728
Kbd 1.15.3wip
Sh-utils 8.7
$ sudo sysctl -a | grep shm
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096
kernel.shm_rmid_forced = 0
vm.hugetlb_shm_group = 0
Dave.
next reply other threads:[~2012-01-20 0:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 0:45 Dave Haywood [this message]
2012-01-20 1:40 ` PROBLEM: Postgres fails to start due to kernel issue? Josh Boyer
2012-01-20 3:13 ` hpanvin@gmail.com
2012-01-20 10:06 ` Dave Haywood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F18B911.2060601@oak.selfip.net \
--to=tla@oak.selfip.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox