Re: [squid-users] how to configure wccp load balancing with squid.

2008-11-10 Thread Egi Konomi

Hello Gregory,

While setting up a squid+wccp solution i found this information really 
helpful:


http://www.reub.net/node/3

Best Regards!

Egi

Gregory Machin wrote:

Hi
I'm looking for a howto or some docs to show how to do load balancing
. I have a single cisco router and would like to have two or more
squid caches. in a load balanced configuration .. Any suggestions ?
Thanks


  





Re: [squid-users] Problem with start squid

2008-07-22 Thread Egi

Hello,

Try with:

squid -d 1

and see what the error message is, maybe your logfiles are to big.

Egi

[EMAIL PROTECTED] wrote:

I have installed and configured Squid 3 Stable 6, with the following options:

./configure --prefix=/usr/local/squid --enable-linux-netfilter
--enable-arp-acl --enable-ssl --enable-snmp
make all
make install


It works correctly and completely for days and even weeks, but all of a
sudden, and without reason it stops working, and there is nothing I can do
to put it again. I have tried with the following aids, but nothing
happens.


/usr/local/squid/sbin/squid -k reconfigure

/usr/local/squid/sbin/squid -k parse

/usr/local/squid/sbin/squid



Even when I execute ps ax | grep squid the process of squid does not
appear. I have even restarted the server and executed squid from zero, but
it never comes. That is why I have had to format and reinstall Linux and
Squid.



Any suggestion?



  




Re: [squid-users] RAM and Optimization Questions

2008-07-05 Thread Egi

Hello,
  
  I use webmin, just to graphically see the ratio of RAM and HDD space...


Thanks
Egi

Henrik Nordstrom wrote:

On fre, 2008-07-04 at 17:57 +0200, Egi wrote:
  

Hello!

I noticed that in the late hours (by night) when the traffic is very 
low, the amount of memory used by squid is very high, almost 2-2.5 times 
bigger compared to the amount of RAM used when the traffic to the squid 
is higher.



How do you measure the amount of ram used?

(there is many different ways, each giving different results...)

Regards
Henrik
  




[squid-users] RAM and Optimization Questions

2008-07-04 Thread Egi

Hello!

I noticed that in the late hours (by night) when the traffic is very 
low, the amount of memory used by squid is very high, almost 2-2.5 times 
bigger compared to the amount of RAM used when the traffic to the squid 
is higher.


-
cache_dir aufs /cache1 138000 16 256
cache_dir aufs /cache2 138000 16 256
cache_dir aufs /cache3 138000 16 256

cache_mem 512 MB
---

We have 4 SCSI HDD's  1 for the system and  3 other for caching (135GB 
each at 15000 rpm formated with reiserfs), also we have  16GB of  RAM, 
and in normal traffic the  RAM utilization is:  4.57 GB.


We see that we averagely can save 18% of our total traffic (Highest: 7.5 
Mbit of 35 Mbit) and this server has been running for 1 week (Now the 
disks are full).


How is it possible that the RAM gets more occupied when there isn't 
traffic? Also are our savings ok (18%)? Do you recommend any tuning options?


Thank You!




[squid-users] memory_pools parameter

2008-07-01 Thread Egi

Hello!

In the archives of this list i found a topic about memory_pools, it said 
that if memory_pools is set to on squid will save a lot of memory, and 
also if its set to on it must have a memory_pool_limit.


Why is that ? Will memory_pools off and memory_pool_limit increase 
the performance of Squid3 ?

What should be the size of memory_pool_limit?


Thank you!



[squid-users] Connection reset by peer error...

2008-07-01 Thread Egi

Hello!

I was just faceing a problem with squid with www.rapidshare.com, my 
clients couldnt dowload files from rapidshare, even when i tried to open 
it from a browser i got :


(104) Connection reset by peer

After i restarted Squid everything went ok.

I noticet on my rrd graphs that at this moment the storage activity 
was really high.


What might have caused this?

Thank you!






[squid-users] Youtube video caching with Squid3

2008-06-30 Thread Egi

Hello

Is it possible to cache youtube videos with Squid3?

Thank You!




Re: [squid-users] Squid and Cacti problem

2008-06-24 Thread Egi

Hello,

I managed to fix it by reinstalling the cacti template for squid, i 
think there was a problem with the interpretation of the values. Because 
the returned value from the snmp was in bit and my template intrpreted 
it as Kbits.


Thank You!

Henrik Nordstrom wrote:

On mån, 2008-06-23 at 16:58 +0200, Egi Konomi wrote:

  

I used to have Squid 2.6.x monitored without any problem on cacti.

But now on Squid 3.0.x, i get very gigant values in the range of 
Gigabits (In the traffic in / out / saved section), that i dont think 
that are real values.


What might be the problem?



How long has your Squid been running?

Thinking you maybe got bitten by this:
http://www.squid-cache.org/Versions/v3/HEAD/changesets/b9032.patch

but on the other hand this bug has always been there since for as long
as Squid has supported SNMP, so maybe not... The above bug will make
some false readings when the counters gets above 0xFF80 until they
wrap around to 0x again...

Regards
Henrik
  




[squid-users] Squid and Cacti problem

2008-06-23 Thread Egi Konomi


Hello!

I used to have Squid 2.6.x monitored without any problem on cacti.

But now on Squid 3.0.x, i get very gigant values in the range of 
Gigabits (In the traffic in / out / saved section), that i dont think 
that are real values.


What might be the problem?



[squid-users] Squid CPU utilization

2008-06-23 Thread Egi Konomi

Hello!

Can SQUID3 utilize more than one cpu with one instance?

Because i see on with `top` that my squid goes to %CPU - 101%


Thank you!