Re: [squid-users] WARNING: swapfile header inconsistent with available data
On Fri, 2014-06-27 at 19:06 +1200, Amos Jeffries wrote: > On 27/06/2014 6:53 p.m., Jasper Van Der Westhuizen wrote: > > > > > > On Thu, 2014-06-26 at 18:03 +0300, Eliezer Croitoru wrote: > >> On 06/25/2014 04:06 PM, Jasper Van Der Westhuizen wrote: > >>> As a matter of interest, in my cache logs I see many lines like these > >>> > >>> 2014/06/25 14:52:58 kid1| WARNING: swapfile header inconsistent with > >>> available data > >>> 2014/06/25 14:53:28 kid1| WARNING: swapfile header inconsistent with > >>> available data > >> What Storage are you using? > >> What is the fstab content? > >> > >> Eliezer > >> > > > > Hi Eliezer > > > > These proxies are VM's with the cache and logs sitting on ext3 LV's. > > > > /dev/VG01/SQUIDCACHE /var/cache/squid ext3 defaults1 1 > > > > Regards > > Jasper > > > > Do any of those cache_dir share an LV? > > Amos > Hi Amos No, each proxy server has it's own cache_dir on it's own LV. Regards Jasper
Re: [squid-users] WARNING: swapfile header inconsistent with available data
On 27/06/2014 6:53 p.m., Jasper Van Der Westhuizen wrote: > > > On Thu, 2014-06-26 at 18:03 +0300, Eliezer Croitoru wrote: >> On 06/25/2014 04:06 PM, Jasper Van Der Westhuizen wrote: >>> As a matter of interest, in my cache logs I see many lines like these >>> >>> 2014/06/25 14:52:58 kid1| WARNING: swapfile header inconsistent with >>> available data >>> 2014/06/25 14:53:28 kid1| WARNING: swapfile header inconsistent with >>> available data >> What Storage are you using? >> What is the fstab content? >> >> Eliezer >> > > Hi Eliezer > > These proxies are VM's with the cache and logs sitting on ext3 LV's. > > /dev/VG01/SQUIDCACHE /var/cache/squid ext3 defaults1 1 > > Regards > Jasper > Do any of those cache_dir share an LV? Amos
Re: [squid-users] WARNING: swapfile header inconsistent with available data
On Thu, 2014-06-26 at 18:03 +0300, Eliezer Croitoru wrote: > On 06/25/2014 04:06 PM, Jasper Van Der Westhuizen wrote: > > As a matter of interest, in my cache logs I see many lines like these > > > > 2014/06/25 14:52:58 kid1| WARNING: swapfile header inconsistent with > > available data > > 2014/06/25 14:53:28 kid1| WARNING: swapfile header inconsistent with > > available data > What Storage are you using? > What is the fstab content? > > Eliezer > Hi Eliezer These proxies are VM's with the cache and logs sitting on ext3 LV's. /dev/VG01/SQUIDCACHE /var/cache/squid ext3 defaults1 1 Regards Jasper
Re: [squid-users] WARNING: swapfile header inconsistent with available data
On 06/25/2014 04:06 PM, Jasper Van Der Westhuizen wrote: As a matter of interest, in my cache logs I see many lines like these 2014/06/25 14:52:58 kid1| WARNING: swapfile header inconsistent with available data 2014/06/25 14:53:28 kid1| WARNING: swapfile header inconsistent with available data What Storage are you using? What is the fstab content? Eliezer
Re: [squid-users] WARNING: swapfile header inconsistent with available data
> > Are you using SMP workers with an AUFS, UFS or diskd cache_dir? > UFS/AUFS/diskd are not SMP-aware and this is how it shows up when two > or more workers are over-writing cache disk files and corrupting each > others records. > > Amos > Hi Amos No, I don't make use of multiple SMP workers. Nothing in my config anyway. PS from one of the proxies. root 25678 1 0 11:00 ? 00:00:00 /usr/local/squid/sbin/squid -sY squid25680 25678 8 11:00 ?00:03:36 (squid-1) -sY squid25681 25680 0 11:00 ?00:00:10 (logfile-daemon) /var/log/squid//access.log squid25682 25680 0 11:00 ?00:00:06 (unlinkd) Kind Regards Jasper
Re: [squid-users] WARNING: swapfile header inconsistent with available data
On 26/06/2014 1:06 a.m., Jasper Van Der Westhuizen wrote: > Hi all > > I'm running a compiled version of Squid 3.4.4 and I'm having some > strange behavior lately. I have a two node cluster load balancing via a > F5 LB and at times one of the two servers will simply not complete a > connection. Squid is running, the logs keep rolling(although much slower > and most entries are from it's sibling cache, but no connections go > through. A restart of Squid fixes this. > > As a matter of interest, in my cache logs I see many lines like these > > 2014/06/25 14:52:58 kid1| WARNING: swapfile header inconsistent with > available data > 2014/06/25 14:53:28 kid1| WARNING: swapfile header inconsistent with > available data > > On one of my servers I cleaned out the cache, as well as the swap.state > file but it didn't make a difference. > > squid -v output. > > Squid Cache: Version 3.4.4 > configure options: '--prefix=/usr/local/squid' > '--sysconfdir=/etc/squid3.4.4/' '--enable-follow-x-forwarded-for' > '--with-logdir=/var/log/squid/' '-with-pidfile=/var/run/squid.pid' > '--with-swapdir=/var/cache/squid/' '--with-large-files' > '--disable-strict-error-checking' '--with-default-user=squid' > > Can anyone shed some light on this problem? Are you using SMP workers with an AUFS, UFS or diskd cache_dir? UFS/AUFS/diskd are not SMP-aware and this is how it shows up when two or more workers are over-writing cache disk files and corrupting each others records. Amos
[squid-users] WARNING: swapfile header inconsistent with available data
Hi all I'm running a compiled version of Squid 3.4.4 and I'm having some strange behavior lately. I have a two node cluster load balancing via a F5 LB and at times one of the two servers will simply not complete a connection. Squid is running, the logs keep rolling(although much slower and most entries are from it's sibling cache, but no connections go through. A restart of Squid fixes this. As a matter of interest, in my cache logs I see many lines like these 2014/06/25 14:52:58 kid1| WARNING: swapfile header inconsistent with available data 2014/06/25 14:53:28 kid1| WARNING: swapfile header inconsistent with available data On one of my servers I cleaned out the cache, as well as the swap.state file but it didn't make a difference. squid -v output. Squid Cache: Version 3.4.4 configure options: '--prefix=/usr/local/squid' '--sysconfdir=/etc/squid3.4.4/' '--enable-follow-x-forwarded-for' '--with-logdir=/var/log/squid/' '-with-pidfile=/var/run/squid.pid' '--with-swapdir=/var/cache/squid/' '--with-large-files' '--disable-strict-error-checking' '--with-default-user=squid' Can anyone shed some light on this problem? Kind Regards Jasper