lkml.org 
[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: postgres/shm problem
On Mon, 8 Jan 2001, Narancs 1 wrote:

> On Mon, 8 Jan 2001, Nils Philippsen wrote:
>
>
> > /proc/sys/kernel/shmall to "0" (that is the maximum number of SHM
> > segments).
> yes, powertweak made it wrong. what is the good value for it?

according to /usr/src/linux/include/linux/shm.h:

#define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages)
*/

On my machine here, it is 2097152. It should be the same on any Intel IA32
compatible machine. To be safe, remove the value from /etc/sysctl.conf and
reboot the machine ;-).

Nils
--
Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
nils@wombat.dialup.fht-esslingen.de / nils@fht-esslingen.de / nils@redhat.de
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence. -- Edsger W. Dijkstra


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.029 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site