From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 19:48:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDE8816A400 for ; Mon, 12 Mar 2007 19:48:37 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 4D53513C469 for ; Mon, 12 Mar 2007 19:48:37 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so2030944nfc for ; Mon, 12 Mar 2007 12:48:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N4sFT6s8AOsXutMn7bi6PhqW7IxD9Pyi5YrvAXJsekJqnXtnAsYkNLwWhB0TS6PoEr8q1lHuoMWdzR291EuYFMlgWvr/Rn8vk/Fp8/wKykoWcoKlQjvOH+87Hpbb2E4NpRxvAGcYyNReklytOnHc/PtOaxmdVdDQrOKGy/a0bX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l/nMPFM5bp/ugXu9b0isdN42Hlu/ZEEzDP5+1c449dUM4bWKTcgh9Zs7F1R2Ws+MJr5NrCfK9oFzhPRS/Mhn+4Y97nbhencyYxK3VxeaPeu/3qVSgdk5LSE46LKKxcQgiGCfi0AtFdc+vcz4SC7jIH4fYyYppUmzKEchSUgtC0Y= Received: by 10.114.157.1 with SMTP id f1mr2086626wae.1173728914542; Mon, 12 Mar 2007 12:48:34 -0700 (PDT) Received: by 10.114.190.15 with HTTP; Mon, 12 Mar 2007 12:48:33 -0700 (PDT) Message-ID: Date: Mon, 12 Mar 2007 21:48:33 +0200 From: "Dima Sorkin" To: "Chuck Swiger" In-Reply-To: <8E7D8006-9480-4CF7-B670-1328BB881FCE@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> <8E7D8006-9480-4CF7-B670-1328BB881FCE@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: limitiation on memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 19:48:37 -0000 Hi. Great. After some tries 2.9GB was the maximum that it works with. Ok with me. --RESOLVED-- About 'dfldsiz' - I meant that I've set it in /boot/loader.conf via 'su -' , and rebooted the machine. It didn't influenced. (It was the first try today, may be I did something wrong, though.) But the 'maxdsiz' works fine, and 'limits' shows the value I've set (2.9G). Thank you. Dima. On 3/12/07, Chuck Swiger wrote: > On Mar 12, 2007, at 12:02 PM, Dima Sorkin wrote: > > Something is probably wrong. > > kern.dfldsiz on my machine does not influence. > > I don't believe you can change that value after the system has > booted-- you have to set it either in the kernel's config file, or > in /boot/loader.conf, for this to actually take effect. > > > I.e. after booting I run > > $ limits > > and it shows me the old 500M. > > > > Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I > > must check. > > I tried 3.9G :) > > Try using 3GB, agreed. > > Also, please note that the dftdsiz keyword affects the "hard" limit, > not the "soft" limit...your shell might well have 500MB "soft" dsize > limit by default, but would permit you to change that upward to the > maximum set by the "hard" limit once you've changed that value.