From owner-freebsd-questions@FreeBSD.ORG Tue Aug 21 23:54:37 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBF9716A41A for ; Tue, 21 Aug 2007 23:54:37 +0000 (UTC) (envelope-from drumslayer2@yahoo.com) Received: from web34510.mail.mud.yahoo.com (web34510.mail.mud.yahoo.com [66.163.178.176]) by mx1.freebsd.org (Postfix) with SMTP id 9D45713C46E for ; Tue, 21 Aug 2007 23:54:37 +0000 (UTC) (envelope-from drumslayer2@yahoo.com) Received: (qmail 35124 invoked by uid 60001); 21 Aug 2007 23:54:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=3wAWQfV7T8y8Ao3JqXasJRO2ih1syyX4uTMnYEWtjjTf1G2xbJwwfufUNLsbztUrxegJP58kqvTxQNbtN9MVjW+QnoiXjLCd6ZiFXxv9mWAQgpDrtVrdUedUrh/TAMCioATMoT74TkmKu6jjUN+SxYMsPND4jKfiaEDeDzr2QMs=; X-YMail-OSG: vsPNL.wVM1mt_5R8YlCIGRMvk2zvSEhPhMkeb0Y8ThYe5CyG Received: from [67.112.21.27] by web34510.mail.mud.yahoo.com via HTTP; Tue, 21 Aug 2007 16:54:36 PDT Date: Tue, 21 Aug 2007 16:54:36 -0700 (PDT) From: "N. Harrington" To: freebsd-amd64@freebsd.org, questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <835936.35104.qm@web34510.mail.mud.yahoo.com> Cc: Subject: What is a "sane" setting for maxdsize when running amd64? it seems many normal suggestions do not apply. 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: Tue, 21 Aug 2007 23:54:38 -0000 Hello I feel stupid, but I am confused about kern.maxdsiz (or datasize via limits command) on FreeBSD amd64. I have seen many posts and suggestions to raise it to 1G. However it seems this only applies to i386. By default, on servers I have with 4G of physical memory, and 2X that of swap, I am showing a reported datasize limit of 33554432KB. far in excess of even my physical and swap combined! I have seen suggestions from mysql for maxdsize to be set to 1G. Obviously no such problem with amd64? Is this just a high number chosen to let things run wild? (basically unlimited) I have been having some problems with running squid and my servers locking up. I think, from the process exceeding my physical memory and the server getting very unhappy trying use so much swap. (since it seems the process size is so unlimited) Could anyone help shed some light on this for me? If I have a server with 4G of memory, what would be a safe /sane allowable maximum for datasize? (assuming a light networking load) Thanks! Nicole