Skip site navigation (1) Skip section navigation (2)

Re: The Postgres team wants to keep Postgres ...

From: PostgreSQL Super User <postgres(at)www(dot)jmonkey(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: The Postgres team wants to keep Postgres ...
Date: 1999-09-16 10:26:47
Message-ID: Pine.GSO.4.05.9909161520400.567-100000@www (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
o  The version of Postgres (v6.5.1, 6.5, beta 990318, etc.).

o  Your operating system (i.e. RedHat v5.2 Linux v2.0.36).
Solaris 7 i86pc

o  Your hardware (SPARC, i486, etc.).

o  Did you compile, install and run the regression
           tests cleanly? If not, what source code did you
           change (i.e. patches you applied, changes you
           made, etc.), what tests failed, etc. It is normal
           to get many warning when you compile. You do not
           need to report these.

Havn't run the regression test, but it compile without to much trouble.

Note... you might want to add info in the docs about upping the IPC
Shared Memory envi. This caused me a big problem, untill I found a message
form some Solaris Gugu, about what to do. THe message follows.

I resolved this problem. I have PostgreSQL 6.5.0 on sparc-sun-solaris2.6,
compiled by gcc When I started postmaster -i, I had same error

You need to tune system parameter (shmsys) of kernel in /etc/system. 

I add into /etc/system:

set shmsys:shminfo_shmmax=268435456
set shmsys:shminfo_shmmin=10
set shmsys:shminfo_shmmni=200
set shmsys:shminfo_shmseg=200
set semsys:seminfo_semmap=250
set semsys:seminfo_semmni=500
set semsys:seminfo_semmns=500
set semsys:seminfo_semmsl=500
set semsys:seminfo_semmnu=500
set semsys:seminfo_semume=100


# reboot -- -r


% sysdef


* IPC Shared Memory
 268435456      max shared memory segment size (SHMMAX)
    10  min shared memory segment size (SHMMIN)
   200  shared memory identifiers (SHMMNI)
   200  max attached shm segments per process (SHMSEG)


Now I start postmaster -i and it run ok.

- Brill pappin

pgsql-ports by date

Next:From: David LöfstrandDate: 1999-09-16 14:02:48
Subject: Re: How to install pgsql on Windows NT
Previous:From: Bullers, TomDate: 1999-09-15 04:35:40
Subject: problems with build on Linux

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group