From owner-freebsd-questions Fri Jan 8 07:33:34 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07592 for freebsd-questions-outgoing; Fri, 8 Jan 1999 07:33:34 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from rfc.comm.harris.com (adm01.rfc.comm.harris.com [147.177.128.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07583 for ; Fri, 8 Jan 1999 07:33:30 -0800 (PST) (envelope-from BDoehner@harris.com) Received: from rfcmx1.rfc.comm.harris.com (rfcmx1.rfc.comm.harris.com [147.177.4.6]) by rfc.comm.harris.com (8.9.1/8.9.1) with ESMTP id KAA144910 for ; Fri, 8 Jan 1999 10:32:55 -0500 Received: by rfcmx1.rfc.comm.harris.com with Internet Mail Service (5.0.1458.49) id ; Fri, 8 Jan 1999 10:32:54 -0500 Message-ID: From: "Doehner, Bernard" To: "'questions@freebsd.org'" Cc: "'bad@uhf.wireless.net'" Subject: limiting swap space via login.conf Date: Fri, 8 Jan 1999 10:32:53 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello... OS Version: FreeBSD 3.0-RELEASE Trying to limit per process swap space utilization to 20MB, but there doesn't seem to be a login.conf variable to do this.. Or is it just undocumented? Is there another method to accomplish this? I thought I'd be able to use: memoryuse and memorylocked (with memoryuse-memorylocked=swap space), but they don't seem to apply on a per process basis, as I was able to calloc array's much larger than the memoryuse limits. Is there something I need to turn on in order to make memoryuse/locked WORK, or is it not on a per process basis? (Yes, I did cap_mkdb after lowering the memoryuse limits for the user class in question). datasize, however did work, and caused the calloc to fail if I tried to allocate greater than datasize space to an array. Any pointer much appreciated. Please Cc: bad@uhf.wireless.net with replies. Thanks. Bernie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message