From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 19:44:51 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 436ED16A404 for ; Fri, 9 Mar 2007 19:44:51 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C315413C441 for ; Fri, 9 Mar 2007 19:44:48 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l29JiMLu029319; Fri, 9 Mar 2007 13:44:22 -0600 (CST) Message-Id: <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 09 Mar 2007 13:44:11 -0600 To: "Dima Sorkin" , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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: Fri, 09 Mar 2007 19:44:51 -0000 Dima, Not all the settings there are tuneable. In 6.X the allowable memory is somewhat automatic based on the max users. Your kernel is set to 384. You can try changing that. You can also make some kernel settings in: /boot/loader.conf You can see the possible variables to set in: /boot/defaults/loader.conf I think the one variable you may want to change is: kern.maxdsiz="to your actual real memory size" Don't make this larger than the real memory, in my experience that will cause the system to not boot properly into multi-user. -Derek At 11:06 AM 3/9/2007, Dima Sorkin wrote: >Hi. >I've passed over the man page and even over the "man 3" page. >What exactly should I look for ? > >Thank you. >Dima. > >output of 'sysctl -a' is attached. > > >On 3/9/07, Derek Ragona wrote: >> >> check out your sysctl values. >> man sysctl >> for more information. >> >> -Derek >> >> >> >> At 08:32 AM 3/9/2007, Dima Sorkin wrote: >> >>Hi. >> >> On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate >> more than 500Mb for my program. > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > > > >Content-Type: application/octet-stream; name="sysctl-a.output" >Content-Disposition: attachment; filename="sysctl-a.output" >X-Attachment-Id: f_ez1pyii1 > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.