X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2F0A2D1B536 for ; Mon, 27 Oct 2003 20:49:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 27911-06 for ; Mon, 27 Oct 2003 16:49:27 -0400 (AST) Received: from emo.org.tr (emo.org.tr [195.142.105.9]) by svr1.postgresql.org (Postfix) with ESMTP id 85039D1B533 for ; Mon, 27 Oct 2003 16:49:22 -0400 (AST) Received: by emo.org.tr (Postfix, from userid 41643) id 57E3AEE626; Mon, 27 Oct 2003 22:49:16 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by emo.org.tr (Postfix) with ESMTP id 527E9EE614 for ; Mon, 27 Oct 2003 22:49:16 +0200 (EET) Date: Mon, 27 Oct 2003 22:49:14 +0200 (EET) From: Devrim GUNDUZ X-X-Sender: devrim2@emo.org.tr Reply-To: pgsql-admin@postgresql.org To: pgsql-admin@postgresql.org Subject: Re: Need your help In-Reply-To: <007e01c39cc6$962b1790$f31ca143@amer.cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/318 X-Sequence-Number: 10879 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Mon, 27 Oct 2003, Siddharth Rath (sirath) wrote: > at the end of 6th step I did receivethe following in my log file. > I cant reconfigure the kernel with larger SHMMAX. > Please let me know how can I reduce the request size (currently 1499136 > bytes), reduce > PostgreSQL's shared_buffers parameter (currently 64) and/or > its max_connections parameter (currently 32). You do not need to reconfigure Linux kernel for a larger SHMMAX. As root, simply echo the new value into /proc/sys/kernel/shmmax: #echo 83886080 > /proc/sys/kernel/shmmax In the example above, we set the value of SHMMAX to 80 Mb. The change takes effect immediately but after a reboot, the original value is restored. If you put that line in /etc/rc.local (or equivalent), your system will set the SHMMAX value to the value you'll write there. If, one day, you need to reconfigure the kernel; then edit /usr/src/linux/include/asm/shmparam.h and recompile Linux. (maybe after reading http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html :) ) Regards, - -- Devrim GUNDUZ devrim@gunduz.org devrim.gunduz@linux.org.tr http://www.tdmsoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/nYTMtl86P3SPfQ4RAlM1AKCvvtQoQIAgnoXzB8/bG9KyjNnABACdGJBz OlT+4F3/3ntkWb/kgDxuJ/c= =7VLf -----END PGP SIGNATURE-----