From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 00:13:16 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 45DDC16A417 for ; Wed, 22 Aug 2007 00:13:16 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 29EBA13C47E for ; Wed, 22 Aug 2007 00:13:16 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id 01EC9F1B06D; Tue, 21 Aug 2007 17:13:16 -0700 (PDT) Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Mail Security) with ESMTP id E0AE128DA6; Tue, 21 Aug 2007 17:13:15 -0700 (PDT) X-AuditID: 1180711d-a021bbb000001006-d6-46cb7f9b9f78 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay13.apple.com (Symantec Mail Security) with ESMTP id C1C7128DD7; Tue, 21 Aug 2007 17:13:15 -0700 (PDT) In-Reply-To: <835936.35104.qm@web34510.mail.mud.yahoo.com> References: <835936.35104.qm@web34510.mail.mud.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Tue, 21 Aug 2007 17:13:15 -0700 To: N. Harrington X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: questions@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: 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: Wed, 22 Aug 2007 00:13:16 -0000 On Aug 21, 2007, at 4:54 PM, N. Harrington wrote: > 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! True...that a big part of what you gain from running in 64-bit mode-- a huge address space. > I have seen suggestions from mysql for maxdsize to be set to 1G. > Obviously no such problem with > amd64? Right. > 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) You should configure squid to use no more than about 60 - 70% of the available physical RAM-- ie, set the cache_mem parameter to about 2.5 or 3GB. > 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) It wouldn't be unreasonable to limit datasize to 3 GB on such a machine, assuming that nothing you run will ever need to grow larger... -- -Chuck