Date: Mon, 12 Mar 2007 21:48:33 +0200 From: "Dima Sorkin" <dima.sorkin@gmail.com> To: "Chuck Swiger" <cswiger@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: limitiation on memory allocation Message-ID: <e40293600703121248l41afc812rcc56fc07d1ab8f7d@mail.gmail.com> In-Reply-To: <8E7D8006-9480-4CF7-B670-1328BB881FCE@mac.com> References: <e40293600703090632v3f25742g16e75708ded632ee@mail.gmail.com> <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> <e40293600703090906n6f648580p5d46f45455ee707b@mail.gmail.com> <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> <e40293600703121120w7a013919l36103a19a930440a@mail.gmail.com> <E47B8943-BB90-4E12-9CFD-278952B6B73F@mac.com> <e40293600703121202xf00a13fxa4ecbda7e8020797@mail.gmail.com> <8E7D8006-9480-4CF7-B670-1328BB881FCE@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <cswiger@mac.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e40293600703121248l41afc812rcc56fc07d1ab8f7d>