From owner-freebsd-hackers Thu Jul 6 17:10:36 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA09820 for hackers-outgoing; Thu, 6 Jul 1995 17:10:36 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA09814 for ; Thu, 6 Jul 1995 17:10:34 -0700 Received: from corbin.Root.COM (corbin [198.145.90.18]) by Root.COM (8.6.11/8.6.5) with ESMTP id RAA01595; Thu, 6 Jul 1995 17:10:21 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id RAA00703; Thu, 6 Jul 1995 17:11:03 -0700 Message-Id: <199507070011.RAA00703@corbin.Root.COM> To: Matt Thomas cc: hackers@freebsd.org Subject: Re: How can VSZ < RSS? Huh!? In-reply-to: Your message of "Thu, 06 Jul 95 17:59:37 -0000." <199507061759.RAA01215@whydos.lkg.dec.com> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 06 Jul 1995 17:11:02 -0700 Sender: hackers-owner@freebsd.org Precedence: bulk >I'm running FreeBSD 2.0.5 and I'm seeing something that is slightly >confusing. When doing a "ps axu", many processes have a RSS greater >than their VSZ. ... >My guess is this is related to the use mmap by process (to load the sharable >libraries or other things). > >Still looks weird. I've "threatened" on more than one occasion to report the _actual_ amount of allocated virtual memory, but got mixed reponses each time I've done that. The current VSZ figure does not take into consideration mapped files other than the executable. It also does not consider the "heap". -DG