Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2000 22:34:14 +0200
From:      "Yavuz Maslak" <yavuz@ihlas.net.tr>
To:        <questions@FreeBSD.org>
Subject:   squid settings
Message-ID:  <004201c04ce7$ed029660$2f89eed5@de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I use squid2.3 on Freebsd4.2 stable and it works as transparent

I have set max users =256 in my custom kernel 

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 
      options         "MAXDSIZ=(512*1024*1024)"   
      options         "DFLDSIZ=(128*1024*1024)"
      options         "NMBCLUSTERS=10240"
        int     maxfiles = 4096;
        int     maxfilesperproc = 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!"  
After that my squid restart by itself  However mysquid hadn't used swap
What shall I do ?  Where can I findout about that ?

Thanks  

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1254">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial>
<DIV><FONT face=Arial size=3>I use squid2.3 on Freebsd4.2 stable and it works as 
transparent</FONT></DIV>
<DIV><FONT face=Arial></FONT><FONT size=3></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=3>I have set max users =256 in my custom kernel 
</FONT></DIV>
<DIV><FONT face=Arial></FONT><FONT size=3></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial TUR" size=3>My server has 2 cpu,P3-550Mhz, 2GByte Ram , 
also I have assigned 25Gbyte for cache_dir</FONT></DIV>
<DIV><FONT face=Arial><PRE><FONT size=3>According to this values What should it be below values for my kernel ?  </FONT></PRE><PRE><FONT size=3>an example by Duane Wessels in </FONT><A href="http://www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7"><FONT size=3>www.squid-cache.org/Doc/FAQ/FAQ-8.html#ss8.7</FONT></A><FONT size=3> </FONT></PRE><PRE><FONT size=3>      options         "MAXDSIZ=(512*1024*1024)"   
      options         "DFLDSIZ=(128*1024*1024)"
      options         "NMBCLUSTERS=10240"
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; int     maxfiles = 4096;
        int     maxfilesperproc = 1024;
</FONT></PRE></FONT></DIV>
<DIV><FONT face=Arial size=3>Because I have a problem I look at 
/var/log/messages and I&nbsp;see once xcalloc: Unable to allocate 4096 blocks of 
1 bytes!"&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=3>After that my squid restart by itself&nbsp; However 
mysquid hadn't used swap</FONT></DIV>
<DIV><FONT size=3>What shall I do ?&nbsp; Where can I findout about that 
?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3><FONT 
face="Arial TUR">Thanks</FONT>&nbsp;&nbsp;</FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201c04ce7$ed029660$2f89eed5>