Search squid archive

Re: Very high CPU ussage after migration 2.7 -> 3.5

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

 



Something new:

Taking away all refresh patterns the CPU usage goes down to around 15%
Patterns look like this, maybe I have to change something:

refresh_pattern -i ^http://c2r\.microsoft\.com/ConsumerC2R/(.*) 43200 100% 129600 override-expire ignore-reload ignore-private override-lastmod

refresh_pattern -i ^http:\/\/.*\.avg\.com\/softw\/.*\/update\/(.*\.bin) 43200 100% 129600 override-expire ignore-reload ignore-private override-lastmod


Thanks

El 17/04/15 a las 13:16, Sebastian Goicochea escribió:
Hello,

I have migrated from Squid 2.7 to Squid 3.5 given the fact that I need some of the new functions that newer versions have. The problem I'm having is that squid proccess is using 100% of CPU all the time. Cache.log informed squid was low on file descriptors, but that's already solved.

Now I see a lot of these in cache.log:

2015/04/17 13:01:07 kid1| Starting new store_id helpers...
2015/04/17 13:01:07 kid1| helperOpenServers: Starting 1/30 'jesred' processes
2015/04/17 13:01:08 kid1| Starting new store_id helpers...
2015/04/17 13:01:08 kid1| helperOpenServers: Starting 1/30 'jesred' processes

It always says 1/30, is it only using one rewriter? Most of the CPU time is idle time, so maybe squid is waiting for something, but I don't know what.

squid -v
Squid Cache: Version 3.5.3
Service Name: squid
configure options: '--prefix=/usr/local' '--datadir=/usr/local/share' '--bindir=/usr/local/sbin' '--libexecdir=/usr/local/lib/squid' '--localstatedir=/var' '--sysconfdir=/etc/squid3' '--enable-delay-pools' '--enable-ssl' '--enable-ssl-crtd' '--enable-linux-netfilter' '--enable-eui' '--enable-snmp' '--enable-gnuregex' '--enable-ltdl-convenience' '--enable-removal-policies=lru heap' '--enable-http-violations' '--with-openssl' '--with-filedescriptors=24321' '--enable-poll' '--enable-epoll'


Any ideas?


Thanks,
Sebastian
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





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

  Powered by Linux