From: | Torsten Zühlsdorff <foo(at)meisterderspiele(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Greg Smith <greg(at)2ndquadrant(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: InitDB: Bad system call |
Date: | 2010-08-11 06:52:34 |
Message-ID: | 4C6248B2.8080009@meisterderspiele.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Tom,
>>> Bad system call (core dumped)
>
>> Have you tried running the initdb with strace or truss? That might give
>> you a clue as to exactly what system call is failing. Your jail isn't
>> allowing something fundamental here, but it's hard to guess what.
>
> Or even easier, gdb the core file ...
As written early i can't locate the core file. But now i use truss:
$ truss -o /tmp/pg.truss /usr/local/bin/initdb /usr/local/pgsql/
Here is the result:
http://www.dddbl.de/pg.truss.txt
The first suspicious i can see are a lots of "ERR#32 'Broken pipe'" entries.
I also changed some ipc-values from:
kern.ipc.semmni=512
kern.ipc.semmns=1024
kern.ipc.semmnu=512
to:
kern.ipc.semmnu: 4096
kern.ipc.semmns: 8192
kern.ipc.semmni: 32767
But these are read-only values. I have to reboot the machine. But it's a
live-machine and it will take some time to prepare rebooting. -.-
Greetings from Germany,
Torsten
From | Date | Subject | |
---|---|---|---|
Next Message | Jacqui Caren-home | 2010-08-11 07:52:15 | Re: pgtune |
Previous Message | John R Pierce | 2010-08-11 06:35:48 | deadlock |