From owner-freebsd-hackers Thu Oct 14 11: 6:37 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dt050n71.san.rr.com (dt050n71.san.rr.com [204.210.31.113]) by hub.freebsd.org (Postfix) with ESMTP id 0E14E152F8 for <freebsd-hackers@freebsd.org>; Thu, 14 Oct 1999 11:06:23 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gateway.gorean.org (gateway.gorean.org [10.0.0.1]) by dt050n71.san.rr.com (8.9.3/8.8.8) with ESMTP id LAA09208 for <freebsd-hackers@freebsd.org>; Thu, 14 Oct 1999 11:06:20 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Thu, 14 Oct 1999 11:06:20 -0700 (PDT) From: Doug <Doug@gorean.org> X-Sender: doug@dt050n71.san.rr.com To: freebsd-hackers@freebsd.org Subject: How to determine data/text/stack sizes of running proccesses? Message-ID: <Pine.BSF.4.10.9910141102140.8744-100000@dt050n71.san.rr.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to set some intelligent resource limits on a CGI server setup, and I'm running into trouble with it. I've set the memoryuse option in login.conf and that does seem to kill them off, but I'd like to be able to fine tune the limits down a little more, while still not interfering with other processes on the system. What I need to do is find out whether the processes that are running away are sucking up virtual memory in the data segment or the stack segment, or both; and how much. I've been looking through man pages, searching the archives, etc. for a couple days now and haven't found anything that will give me this information on a running process. Any pointers would be welcome. Thanks, Doug -- "Stop it, I'm gettin' misty." - Mel Gibson as Porter, "Payback" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message