[squid-users] Did logrotation code change between 3.1.9 and 3.1.12?

2011-06-03 Thread Rich Rauenzahn
My logrotating done by logrotated doesn't work anymore... /var/log/squid/*.log { weekly rotate 52 size 100M compress notifempty missingok sharedscripts postrotate # Asks squid to reopen its logs. (logfile_rotate 0 is set in squid.conf) # errors redirecte

[squid-users] Hanging transfers after partial transfer

2011-05-31 Thread Rich Rauenzahn
Version : 3.1.9 We're getting (fairly consistently) hanging transfers on a particular resource. We're using squid as an accelerator, and it is all internal traffic within our corporate intranet. I found this, http://wiki.squid-cache.org/KnowledgeBase/BrokenWindowSize, but I'm skeptical becau

Re: [squid-users] severe disk usage calculation bug

2010-12-13 Thread Rich Rauenzahn
On Mon, Dec 13, 2010 at 2:10 PM, Michael Leong wrote: > Hi, > we're currently running the squid store off a NetApp NFS.  According to df, > it says our cache store is using 140GB.  However, when I run the disk usages > query via You have the opposite problem I had. Squid was underreporting, not

[squid-users] do I have peering configured correctly?

2010-12-08 Thread Rich Rauenzahn
I'm not convinced I have peering configured correctly. Here is my environment: These are internal specialized squid servers for serving internal web sites/deliverables. The main squid server at corporate is intended to accelerate a few sites. At corporate, we have 4 squid servers fronted by hap

Re: [squid-users] Re: cache_dir aufs grows larger than config'ed

2010-10-04 Thread Rich Rauenzahn
On Mon, Oct 4, 2010 at 2:56 AM, Matus UHLAR - fantomas wrote: > On 29.09.10 17:42, Rich Rauenzahn wrote: >> This code strikes me as incorrect... Basically for files > 2GB, squid >> does the accounting wrong! > > It's apparently just a filesystem overhead, which var

[squid-users] Re: cache_dir aufs grows larger than config'ed

2010-09-29 Thread Rich Rauenzahn
This code strikes me as incorrect... Basically for files > 2GB, squid does the accounting wrong! Note that sizeof(int) is 4 in both 32bit and 64bit compilation models. I believe that blks * fs.blksize overflows 32bit before it is right shifted by 10 bits. void SwapDir::updateSize(int64_t size, i

[squid-users] Re: cache_dir aufs grows larger than config'ed

2010-09-29 Thread Rich Rauenzahn
> > This is interesting: > > http://bugs.squid-cache.org/show_bug.cgi?id=2313 > > We're using XFS per our group's standard.  I wonder if it exhibits a > similar problem? Nope, doesn't seem to be the problem. Reformatted with ext4, wiped the cache, and it is now 15GB and squid's statistics say it

[squid-users] Re: cache_dir aufs grows larger than config'ed

2010-09-29 Thread Rich Rauenzahn
On Mon, Sep 27, 2010 at 4:03 PM, Rich Rauenzahn wrote: > Hi, > > Our squid servers are consistently goes over their configured disk > limits.  I've rm'ed the cache directories and started over several > times...  yet they slowly grow to over their set limit and fill up t

Re: [squid-users] cache_dir aufs grows larger than config'ed

2010-09-29 Thread Rich Rauenzahn
[resending -- left of list addr last time] >> These are clearly over the 300,000K limit -- and the swap stat files >> are less than 1MB. > > Um, you mean the 300 GB limit configured. 307,200,000 KB to be precise. Yes, right. > Which indicates that something other than Squid data cache is going

Re: [squid-users] cache_dir aufs grows larger than config'ed

2010-09-29 Thread Rich Rauenzahn
[resending, I accidentally left off the list addr] > If you cache very large files, you may need to change > cache_swap_low 88 > cache_swap_high 89 > to force the cleanup process to be more aggressive with > removing the oldest cached files > > Marcus I don't see how increasing those values (exc

[squid-users] cache_dir aufs grows larger than config'ed

2010-09-27 Thread Rich Rauenzahn
Hi, Our squid servers are consistently goes over their configured disk limits. I've rm'ed the cache directories and started over several times... yet they slowly grow to over their set limit and fill up the filesystem. These are du -sk's of the squid directories: squid2: 363520856 /squid/ squi