Search squid archive

RE: Some pages loading very slow in 3.1.10 Stable

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

 



Thanks for your prompt reply. Well I am not much experienced admin in linux or in terms of squid, and therefore I havent installed wireshark/tshark/tcpdump in squid yet, but I will install it now to go in deep.
 
My previous version of squid was 2.7 Stable downloaded from aptitude which was installed in a different machine, and not in this new machine. My current configuration in the current PC (Core i7) is a squid 3.1.10 custom compiled by me with only the ZPH and the Linux Net Filter enabled. I haven't used any other parameters while configuring it. 
 
Default Cache_Dir is splitted into three directories:
UFS /media/cache/storage501 51400 16 256
UFS /media/cache/storage502 51400 16 256 
UFS /media/cache/storage503 51400 16 256
 
and cache_mem is 150MB
 
Sometimes during peak hours while the network load is high, we do experience very slow browsing (in all websites) which is usually resolved after a quick restart of the squid process/service.
 
Thanks & Best Regards,
Shishir

----------------------------------------
> Date: Mon, 24 Jan 2011 07:48:12 +0100
> From: rmkml@xxxxxxx
> To: saifulmr@xxxxxxxxxxx
> CC: rmkml@xxxxxxx
> Subject: Re:  Some pages loading very slow in 3.1.10 Stable
>
> Hi Saiful,
> On same plateform, do you have a old squid version working better? what is your previous squid version please?
> can you start network capture like wireshark/tshark/tcpdump on your squid please? and run firebug for example and compare last and your previous squid version please?
> can you compare squid cpu usage last and previous version please?
> Regards
> Rmkml
>
>
> On Mon, 24 Jan 2011, Saiful Alam wrote:
>
> >
> > Hello Everyone,
> > My Squid Configuration is pretty much default, except
> > the fact, that I have added some refresh_patterns myself and collected
> > from internet in order to get more hits. The server is a Squid3.1.10 (in
> > 3128 intercept transparent) running on Ubuntu 10.10 and comprises of
> > Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz. I would say that
> > everything is fine, except some pages are loading very very slow. For
> > example, www.music.com.bd / www.djmaza.com ... I will try to give more
> > examples as I find more, but for the time being these two sites are very
> > important for my clients. Don't understand actually whats wrong. If
> > this has anything to do with the squid.conf file, I will attach it with
> > the next reply. For the time being here's my refresh_patterns.
> >
> > refresh_pattern ^http://.*\.facebook.com.*\.(jpg|gif|png|swf|wav|3gp|flv|swf|wmv|zip|rar) 10080 300% 40320 reload-into-ims
> > refresh_pattern ^http://.*\.fbcdn.net.*\.(jpg|gif|png|swf|wav|mp3|3gp|flv|swf|wmv|zip|rar) 10080 300% 40320 reload-into-ims
> > refresh_pattern ^http://.*\.yimg.com.*\.(jpg|gif|png|swf|wav|3gp|flv|swf|wmv|zip|rar) 10080 300% 40320 reload-into-ims
> > refresh_pattern ^http://.*\.ytimg.com.*\.(jpg|gif|png|swf|wav|mp3|3gp|flv|swf|wmv|zip|rar) 10080 300% 40320 reload-into-ims
> > refresh_pattern ^http://.*\.gstatic.com.*\.(jpg|gif|png) 10080 300% 40320 reload-into-ims
> > refresh_pattern ^http://.*\.google.com.*\.(jpg|gif|png) 10080 300% 40320 reload-into-ims
> > refresh_pattern dsebd\.org.*\.(jpg|gif|png) 600 50% 3000
> > refresh_pattern windowsupdate.com/.*\.(cab|exe) 4320 100% 43200 reload-into-ims
> > refresh_pattern download.microsoft.com/.*\.(cab|exe) 4320 100% 43200 reload-into-ims
> > refresh_pattern ^http://.*\.cnn\.com 1000 50% 4320 override-lastmod
> > refresh_pattern ^http://news\.bbc\.co\.uk 1000 50% 4320 override-lastmod
> > refresh_pattern microsoft 1080 150% 10080 override-lastmod
> > refresh_pattern msn\.com 4320 150% 10080 override-lastmod
> > refresh_pattern ^http://.*FIDO 360 1000% 480
> > refresh_pattern \.r[0-9][0-0]$ 10080 150% 40320
> > refresh_pattern ^http://.*\.asis$ 1440 50% 20160
> > refresh_pattern -i \.art$ 10080 150% 43200
> > refresh_pattern -i \.qtm$ 10080 150% 40320 reload-into-ims
> > refresh_pattern -i \.viv$ 10080 150% 40320 reload-into-ims
> > refresh_pattern -i \.pdf$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.jpg$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.png$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.gif$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.flv$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.ico$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.jpeg$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.x-flv$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.swf$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.wav$ 10080 300% 40320 reload-into-ims
> > refresh_pattern -i \.mp3$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.mp4$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.zip$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.rar$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.exe$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.zip$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.doc$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.ppt$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.tiff$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.ram$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.rm$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.rpm$ 10080 300% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.htm$ 1440 50% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.html$ 1440 50% 40320 override-expire override-lastmod reload-into-ims ignore-reload
> > refresh_pattern -i \.txt$ 1440 100% 20160 reload-into-ims override-lastmod
> > refresh_pattern -i \.arj$ 2880 200% 40320
> > refresh_pattern -i \.Z$ 10080 200% 40320
> > refresh_pattern ^ftp: 1440 50% 10080
> > refresh_pattern ^gopher: 1440 10% 1440
> > refresh_pattern . 0 40% 4320
> >
> > negative_ttl 1 minute
> > positive_dns_ttl 15 hour
> > negative_dns_ttl 20 second
> >
> > Thanks & Best Regards,
> > Saiful
 		 	   		  


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

  Powered by Linux