Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id BCF534759BC for ; Sun, 7 Jul 2002 13:16:39 -0400 (EDT) Mailbox-Line: From stigmata@blackangel.net Sun Jul 7 13:16:39 2002 Received: from osiris.deathkeep.com (adsl-67-115-146-162.dsl.snfc21.pacbell.net [67.115.146.162]) by postgresql.org (Postfix) with ESMTP id 8D382475994 for ; Sun, 7 Jul 2002 13:16:38 -0400 (EDT) Received: from localhost (localhost.deathkeep.com [127.0.0.1]) by osiris.deathkeep.com (8.11.6/8.11.6) with ESMTP id g67HE3461661; Sun, 7 Jul 2002 10:14:03 -0700 (PDT) (envelope-from stigmata@blackangel.net) Date: Sun, 7 Jul 2002 10:14:03 -0700 (PDT) From: Gregor Mosheh X-X-Sender: stigmata@osiris.deathkeep.com To: Curt Sampson Cc: pgsql-admin@postgresql.org Subject: Re: memory strangeness (fwd) In-Reply-To: Message-ID: <20020707101235.G61642-100000@osiris.deathkeep.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.3 required=5.0 tests=IN_REP_TO,DOUBLE_CAPSWORD version=2.30 X-Spam-Level: X-Archive-Number: 200207/106 X-Sequence-Number: 4792 > > kern.ipc.shm_use_phys) On this particular system, though, it's doing > > nothing except PG. 384 MB of RAM, I can give PG 160 of it, which leaves me > > with some 170 MB of idle RAM. > No, that's not idle RAM; that's buffer cache. (FreeBSD, like most > modern Unix operating systems, will use any spare physical memory Oh, of course! How silly of me to forget that! You're entirely right. > It's not a sysctl, because those limits are settable per-process. > Use "ulimit -aS" to check the current (soft) limits, and "ulimit > -aH" to check the hard limits (beyond which the soft limits may > not be raised). Also see the getrlimit manpage. I shall. Thanks a lot!