[squid-users] High cpu usage by re_search_internal

Omid Kosari omidkosari at yahoo.com
Sat Oct 4 14:04:54 UTC 2014


Thanks .

I did it . When all refresh_pattern lines commented except following default
ones

refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
refresh_pattern .		0	20%	4320

squid uses 40~60% cpu usage . Adding just following 2 lines increases more
than 20% to squid cpu usage ! 

refresh_pattern -i
(.+\.)?(microsoft|windowsupdate)\.com/.*?\.(cab|exe|dll|ms[i|u|f]|asf|wm[v|a]|dat|zip|iso|psf)$
10080 100% 172800 ignore-no-store ignore-reload ignore-private
ignore-must-revalidate override-expire override-lastmod
refresh_pattern -i (.+\.)?apple\.com/.*?\.(pkg|dmg|tar|pkm|ipsw|exe)$ 10080
100% 172800 ignore-no-store ignore-reload ignore-private


And here is my complete refresh_pattern http://pastebin.com/UtG7Gdv1   . I
hope you provide some tips to solve it .
Here is my cachemgr info  http://pastebin.com/Ewcmwyvw

Thanks in advance




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/High-cpu-usage-by-re-search-internal-tp4667550p4667657.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list