Re: Fwd: Re: Shared memory for RH Linux 7.1

Поиск
Список
Период
Сортировка
От Michael J Schout
Тема Re: Fwd: Re: Shared memory for RH Linux 7.1
Дата
Msg-id Pine.LNX.4.10.10106011551580.21828-100000@galaxy.gkg-com.com
обсуждение исходный текст
Ответ на Fwd: Re: Shared memory for RH Linux 7.1  (Ryan Mahoney <ryan@paymentalliance.net>)
Список pgsql-hackers
On Thu, 24 May 2001, Ryan Mahoney wrote:

> >This is true.  You can adjust the value in the /proc/sys/kernel/shmmax 
> >file.  If you change the value it will be reset when you reboot, so you 
> >will need to write a start-up script to always change this value if you 
> >want it to be permanent.

or you can let sysctl do it with this in /etc/sysctl.conf:

kernel.shmmax = 268435456

(obviously changing the value with what is appropriate for your machine).

This is for a RH 6.2 box.  DOnt know if its the same on 7.1.  We switched to
FreeBSD between redhat 6.2 and 7.0, so we dont have any RH7.1 boxes laying
around.  I suspect it hasn't changed though.

Mike



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "gabriel"
Дата:
Сообщение: dump+reload?
Следующее
От: Jan Wieck
Дата:
Сообщение: Sorry