From owner-freebsd-questions Sat Apr 7 3:34: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe48.law3.hotmail.com [209.185.240.216]) by hub.freebsd.org (Postfix) with ESMTP id 9F52637B423 for ; Sat, 7 Apr 2001 03:34:00 -0700 (PDT) (envelope-from ymmaslak@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 7 Apr 2001 03:34:00 -0700 X-Originating-IP: [213.238.139.172] From: "Yavuz Maslak" To: Subject: How I do get rid of that problem ? Date: Wed, 8 Nov 2000 13:33:07 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C04988.6E4269C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: X-OriginalArrivalTime: 07 Apr 2001 10:34:00.0462 (UTC) FILETIME=[42279AE0:01C0BF4E] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C04988.6E4269C0 Content-Type: text/plain; charset="windows-1254" Content-Transfer-Encoding: quoted-printable Hello All I use FreeBSD4.2 and I installed squid2.3stable4 and it works. My server has 2Gbyte Ram, 2CPU P3-500Mhz I assigned 14Gbyte Ram for squid's cachedir I got message from /var/log/messages as following xmalloc: Unable to allocate 4096 bytes!=20 Running out of filedescriptors=20 Thereupon=20 I read in http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7 (and other = parts of it) and I compiled custom kernel for squid settings that as = following (certainly concerned part of it); maxusers 512 options MAXDSIZ=3D(1600*1024*1024) options DFLDSIZ=3D(512*1024*1024) options NMBCLUSTERS=3D10240 Also I set cache_mem at 400Mbyte in squid.conf After that I haven't got any above messages. But I have a problem. When many people (about 500) connected to internet = via my squid I get many messages as following; squid[8317]: comm_accept: FD 8: (53) Software caused connection abort squid[8317]: httpAccept: FD 8: accept failure: (53) Software caused = connection abort =20 (in early morning times I never run into that problem. Because there's = no too many people. Also I believe that like a power server should = supports thousands of people)=20 After a few hours or sometimes 30 minutes the squid server restart by = itself You already know that dns port is 53 My squid uses two dns servers that both the same subnet with my squid. = That is there's no network problem Also I allowed at 53 port in ipfw.sh as following; ipfw add allow tcp from any to any 53 =20 How can I get rid of that problem ? What shall I do ?=20 Best regards ------=_NextPart_000_0007_01C04988.6E4269C0 Content-Type: text/html; charset="windows-1254" Content-Transfer-Encoding: quoted-printable
Hello All
 
I use FreeBSD4.2 and I installed = squid2.3stable4=20 and it works.
 
My server has 2Gbyte Ram, 2CPU=20 P3-500Mhz
 
I assigned 14Gbyte Ram for squid's=20 cachedir
 
I got message from /var/log/messages as = following
xmalloc: Unable to allocate 4096 = bytes!=20
Running out of filedescriptors
 
Thereupon
I read in http://www.s= quid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7 (and=20 other parts of it) and I  compiled custom kernel for squid settings = that as=20 following (certainly concerned part of it);
maxusers       =20 512
options        =20 MAXDSIZ=3D(1600*1024*1024)
options      =   =20 DFLDSIZ=3D(512*1024*1024)
options      &= nbsp; =20 NMBCLUSTERS=3D10240
 
Also I set cache_mem at 400Mbyte in=20 squid.conf
 
After that I haven't got any above = messages.
 
But I have a problem. When many people = (about 500)=20 connected to internet via my squid I get many messages as=20 following;
squid[8317]: comm_accept: FD 8: (53) = Software=20 caused connection abort
squid[8317]: httpAccept: FD 8: accept = failure: (53)=20 Software caused connection abort   
(in early morning times I never run = into that=20 problem. Because there's no too many people. Also I = believe that=20 like a power server should supports thousands of = people) 
 After a few hours or sometimes 30 = minutes the squid server restart by itself
You already know that dns port is = 53
My squid uses two dns servers that both = the same=20 subnet with my squid. That is there's no = network problem
Also I allowed at 53 port in = ipfw.sh as=20 following;
ipfw add allow tcp from any to any=20 53  
 
How can I get rid of that problem ? = What shall I=20 do  ? 
 
Best regards
 
------=_NextPart_000_0007_01C04988.6E4269C0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message