Re: [HACKERS] Tom Lane's fixes in v6.4.3

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Tom Lane's fixes in v6.4.3
Date: 1999-03-04 08:43:38
Message-ID: 199903040843.RAA02624@srapc451.sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When I tried to start postmaster as:

postmaster -d 3 -B 1024

I got a core dump:

FindExec: searching PATH ...
ValidateBinary: can't stat "/home/httpd/html/users/t-ishii/bin/postgres"
ValidateBinary: can't stat "/usr/local/bin/postgres"
ValidateBinary: can't stat "/bin/postgres"
ValidateBinary: can't stat "/usr/bin/postgres"
ValidateBinary: can't stat "/home/httpd/html/users/t-ishii/src/pgsql/postgresql-6.4.2/src/backend./postgres"
ValidateBinary: can't stat "/usr/X11R6/bin/postgres"
FindExec: found "/usr/local/pgsql/bin/postgres" using PATH
binding ShmemCreate(key=52e2c1, size=9859300)
ERROR: InitMultiLocks: couldnt initialize lock table
Quit (core dumped)

InitMultiLocks calls LockMethodTableInit. So I inspected
LockMethodTableInit and found that it returned
lockMethodTable->ctl->lockmethod with value 0 which made
InitMultiLocks judge something went wrong.
Note that ipcs -m -l sais:

max number of segments = 128
max seg size (kbytes) = 16384
max total shared memory (kbytes) = 16777216
min seg size (bytes) = 1

So there should be enogh shared mems. Also note that -B 1023 runs
fine, but -B 1024 does not.

Any idea?

This is 6.4.2 + Tom Lanes fix running Linux/Mips (kernel 2.0.33) with
32MB memories.
--
Tatsuo Ishii

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 1999-03-04 10:00:10 RE: [HACKERS] copyObject() ? again
Previous Message Jim Mercer 1999-03-04 04:40:40 inet and cidr type problems