From owner-freebsd-hackers Fri Mar 15 19:11:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from backup.dagupan.com (www.psysc.org.ph [206.101.69.5]) by hub.freebsd.org (Postfix) with ESMTP id 02D8E37B400 for ; Fri, 15 Mar 2002 19:11:39 -0800 (PST) Received: from bitstop0bcloce (202.91.161.168 [202.91.161.168]) by backup.dagupan.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id HATMQ508; Sat, 16 Mar 2002 11:13:02 +0800 Message-ID: <005c01c1cc98$34928f40$a8a15bca@bitstop0bcloce> From: "Francis Vidal" To: "Dan Nelson" Cc: References: <006d01c1cc0f$17689470$0ea55bca@bitstop0bcloce> <20020315162137.GD2941@dan.emsphone.com> Subject: Re: Removing data segment size limit Date: Sat, 16 Mar 2002 11:10:58 +0800 Organization: Bitstop Network Services, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan, memory_pools is off, main memory is 1.5GB with cache_mem set at 128MB. cache_dir total is around 96GB (spread across 3 HDDs). I haven't really monitored the memory growth but it's now at 548MB (from top). ----- Original Message ----- From: "Dan Nelson" To: "Francis Vidal" Cc: Sent: Saturday, March 16, 2002 12:21 AM Subject: Re: Removing data segment size limit > In the last episode (Mar 15), Francis Vidal said: > > Hi, > > > > I'm running a very busy Squid proxy/cache system and I've bumped up the > > data segment size to 768MB but the cache is growing and I'm afraid it > > (Squid process) might stop again once the limit is reached. Is there a > > way to remove the kernel-imposed data segment size limit? Are there > > Squid admins here that might give me tips on fine-tuning? > > You can try setting 'memory_pools off' in your Squid config, which > might make squids memory usage stay closer to its 'cache_mem' setting. > What's cache_mem currently set to, and how fast does squid's memory > usage grow? > > -- > Dan Nelson > dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message