Re: [HACKERS] Doc's about setting the amount of shared memory

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: Hannu Krosing <hannu(at)trust(dot)ee>
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-docs(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Doc's about setting the amount of shared memory
Date: 1998-11-06 17:52:38
Message-ID: Pine.SOL2.3.96.SK.981106204801.27638T-100000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

On Fri, 6 Nov 1998, Hannu Krosing wrote:
> Where could I find the information about setting the amount
> of shared memory on various operating systems ?
>
> My interest is in Linux and Solaris.

Instruction for Solaris.

1. Read man -s 4 system

2. Note - /etc/system is kernel config file that have been read once on
every boot.

3. Log in as root

4. MAKE BACKUP of your /etc/system

5. Edit /etc/system. Add or modify:
set shmsys:shminfo_shmmin=100
set shmsys:shminfo_shmmni=500
set shmsys:shminfo_shmseg=100
set shmsys:shminfo_shmmax=2147483648

6. Save the file

7. Reboot.

8 In case of boot failure, use backup file (more info in man -s 4 system).

Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-11-06 18:45:13 Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!!
Previous Message Hannu Krosing 1998-11-06 17:43:35 Doc's about setting the amount of shared memory