Search squid archive

My ongoing problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys.

Today I noticed something that might be the answer to why my internet
connection tends to get slow from time to time.

tcviewer shows:

 2:1251               <  512000bit -  614000bit >    576.8 kbit/s
( 49pps)
 2:1067               <  512000bit -  614000bit >    430.5 kbit/s
( 39pps)
 2:1013               <  512000bit -  614000bit >    155.5 kbit/s
( 21pps)
 2:961                <  512000bit -  512000bit >     38.2 kbit/s
( 42pps)
 2:1101               <  512000bit -  614000bit >     34.9 kbit/s  (
7pps)
 2:1155               <  512000bit -  614000bit >      6.2 kbit/s  (
1pps)
 2:1345               <  512000bit -  614000bit >      4.5 kbit/s  (
4pps)
 2:1211               <  512000bit -  614000bit >      3.0 kbit/s  (
1pps)
 2:1003               <  512000bit -  614000bit >      2.2 kbit/s  (
1pps)


which means not many users are really online.

iptraf shows that my WAN interface is almost maxed to 14580kbits/sec and
my internal iface traffic is only at 1673kbits/sec which tells me that:

1. traffic passing through squid (checked the access.log) and is showing
traffic to the user with 2:1251 class:

172.16.100.139   
 http://s9.videobb.com/s2?v=t8sVz3gItZpm&r=1&t=1299677838&u=&; ....   44
Mb 1h 24m 56s 
 http://s56.videobb.com/s2?v=obSt3vOWf0cd&r=1&t=1299677906&u= ....   71
Mb 1h 23m 57s 
 http://s68.videobb.com/s2?v=LMiY4UGsGhMy&r=1&t=1299677969&u= ....   30
Mb 1h 22m 24s 

2. Since, I'm shapping or throlling the user's speed to 512kbits then
all traffic coming in is hogging my line.

I thought that when an established connection was being throttle that my
gateway will be the "manager" for this connection and as a result it
would control the speed at what the server is serving the file to the
user in my lan.

This is an user or two that's hogging my line imagine when 30 or more
are connected simultanously.

I'm thinking of installing a mikrotik to balance our 3 5mbps lines and
throtle connections like that to 100kbits... 

What can I really do to fix this? 

Could this be caused by squid downloading a big file ahead of time? I had the max_object_size to 512MB and changed it to 64MB but, that hasnt fix the problem.

Thanks in advanced for your time and help.






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux