From owner-freebsd-questions Wed Mar 28 11:35: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.ihlas.net.tr (mailhub.ihlas.net.tr [213.238.128.250]) by hub.freebsd.org (Postfix) with SMTP id 4CF5237B71A for ; Wed, 28 Mar 2001 11:35:01 -0800 (PST) (envelope-from yavuz@ihlas.net.tr) Received: (qmail 42801 invoked from network); 28 Mar 2001 19:47:52 -0000 Received: from unknown (HELO de) (213.238.137.47) by smtp.ihlas.net.tr with SMTP; 28 Mar 2001 19:47:52 -0000 Message-ID: <004201c04ce7$ed029660$2f89eed5@de> From: "Yavuz Maslak" To: Subject: squid settings Date: Sun, 12 Nov 2000 22:34:14 +0200 Organization: IHLAS HOLDING MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003F_01C04CF8.AF541EE0" 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 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_003F_01C04CF8.AF541EE0 Content-Type: text/plain; charset="windows-1254" Content-Transfer-Encoding: quoted-printable I use squid2.3 on Freebsd4.2 stable and it works as transparent I have set max users =3D256 in my custom kernel=20 My server has 2 cpu,P3-550Mhz, 2GByte Ram , also I have assigned 25Gbyte = for cache_dir According to this values What should it be below values for my kernel ? = an example by Duane Wessels in = www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7=20 options "MAXDSIZ=3D(512*1024*1024)" =20 options "DFLDSIZ=3D(128*1024*1024)" options "NMBCLUSTERS=3D10240" int maxfiles =3D 4096; int maxfilesperproc =3D 1024; Because I have a problem I look at /var/log/messages and I see once = xcalloc: Unable to allocate 4096 blocks of 1 bytes!" =20 After that my squid restart by itself However mysquid hadn't used swap What shall I do ? Where can I findout about that ? Thanks =20 ------=_NextPart_000_003F_01C04CF8.AF541EE0 Content-Type: text/html; charset="windows-1254" Content-Transfer-Encoding: quoted-printable
I use squid2.3 on Freebsd4.2 stable and = it works as=20 transparent
 
I have set max users =3D256 in my = custom kernel=20
 
My server has 2 cpu,P3-550Mhz, = 2GByte Ram ,=20 also I have assigned 25Gbyte for cache_dir
According to this values =
What should it be below values for my kernel ?  
an example by Duane Wessels in www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7 
      options         =
"MAXDSIZ=3D(512*1024*1024)"  =20
      options         "DFLDSIZ=3D(128*1024*1024)"
      options         "NMBCLUSTERS=3D10240"
        int     maxfiles =3D 4096;
        int     maxfilesperproc =3D 1024;
Because I have a problem I look at=20 /var/log/messages and I see once xcalloc: Unable to allocate 4096 = blocks of=20 1 bytes!"  
After that my squid restart by = itself  However=20 mysquid hadn't used swap
What shall I do ?  Where can I findout about = that=20 ?
 
Thanks  
------=_NextPart_000_003F_01C04CF8.AF541EE0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message