Varnish restarting sporadically... losing entire cache...

Per Buer perbu at varnish-software.com
Thu Jun 24 23:52:12 CEST 2010


Hi.

Note that you are running on a 32 bit platform. You could easily be
running out of virtual memory. We recommend you only run on 64 bit at
least for production. I guess that if you switch platform the problem
will automatically go away.

Per.


On Thu, Jun 24, 2010 at 7:50 PM, Ben Nowacky
<bnowacky at competitorgroup.com> wrote:
> Thanks Flavio! Here's the errors that I see in the /var/log/messages... Is this what you were seeing?
>
> Jun 24 17:38:23 srv860 varnishd[15625]: Child (22165) Panic message: Assert error in SMP_FreeObj(), storage_persistent.c line 802:   Condition(sg->nfixed > 0) not true. thread = (cache-timeout) ident = Linux,2.6.18-128.4.1.el5PAE,i686,-spersistent,-hclassic,epoll Backtrace:   0x806ca7c: pan_ic+cc   0x808851e: SMP_FreeObj+13e   0x8064b5f: HSH_Deref+21f   0x80618d1: exp_timer+321   0x806f1fd: wrk_bgthread+cd   0x44249b: /lib/libpthread.so.0 [0x44249b]   0x39942e: /lib/libc.so.6(clone+0x5e) [0x39942e]
> Jun 24 17:38:23 srv860 varnishd[15625]: child (22984) Started
> Jun 24 17:38:23 srv860 varnishd[15625]: Child (22984) said
> Jun 24 17:38:23 srv860 varnishd[15625]: Child (22984) said Child starts
> Jun 24 17:38:23 srv860 varnishd[15625]: Child (22984) said Dropped 0 segments to make free_reserve
> Jun 24 17:38:23 srv860 varnishd[15625]: Child (22984) said Silo completely loaded
> On Jun 24, 2010, at 10:51 AM, Flavio Torres wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 06/24/2010 02:28 PM, Ben Nowacky wrote:
>>> - Deployed varnish on 1 of our servers yesterday for final testing on the
>>> live site. Runs along well, seems to be doing great. Run varnishstat to
>> keep
>>> an eye on it, and randomly all the stats reset back to 0, and there's a
>> full
>>> cache purge, which means i'm guessing varnish has restarted?
>>
>> Hi Ben,
>>
>> Check your /var/log/messages, I had this problem with a "cli time out"
>> message.
>>
>> If you too, just increment your varnishd with -p cli_timeout 20 -p
>> ping_interval 5 option.
>>
>> hope this helps
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAkwjmxcACgkQNRQApncg295beACfVOKpxYcqDehDYe/7Mp6o28+F
>> LHoAn0PuwzfCgbehD9siMQVYZsR5ww0F
>> =Egpi
>> -----END PGP SIGNATURE-----
>>
>>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://lists.varnish-cache.org/mailman/listinfo/varnish-misc
>



-- 
Per Buer,  Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / skype: per.buer



More information about the varnish-misc mailing list