Hi,

Varnish can't use more than 2 GB cache on a 32bit system. Somebody suggested 
you tried replacing just the kernel for testing purposes, but there is no need 
to test. You need a 64bit server.


Lars

From: [email protected] 
[mailto:[email protected]] On Behalf Of Kurt Kraut
Sent: Thursday, August 11, 2011 5:11 PM
To: [email protected]
Subject: Re: What limits the varnish_storage.bin size?

Hi,


Yes, it is a 32 bit CentOS install. Can I workaround this without reinstalling 
the whole system?


Thanks in advance,


Kurt Kraut
2011/8/11 Lars Jørgensen <[email protected]<mailto:[email protected]>>
Hi Kurt,

Are you on a 32bit OS?


Lars

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Kurt Kraut
Sent: Wednesday, August 10, 2011 8:50 PM
To: [email protected]<mailto:[email protected]>
Subject: What limits the varnish_storage.bin size?

Hi,

I've been using to different CentOS servers to run varnish and to load balance 
to the same backends. I'm using the file cache, not malloc. I've found 
something odd:

root@s2-ul [~]# du /var/lib/varnish/varnish_storage.bin
2099200    /var/lib/varnish/varnish_storage.bin

admin@s4-ul [~]# du /var/lib/varnish/varnish_storage.bin
2099200    /var/lib/varnish/varnish_storage.bin

Both storage files in these two servers have the precise same size in bytes. 
But I'm running varnish to use 100GB of storage:

/usr/sbin/varnishd -P /var/run/varnish.pid -a :80 -f /etc/varnish/default.vcl 
-T 127.0.0.1:6082<http://127.0.0.1:6082> -t 900 -w 1,1000,120 -u varnish -g 
varnish -S /etc/varnish/secret -s file,/var/lib/varnish/varnish_storage.bin,100G

What am I missing? What else would limit varnish_storage.bin to this specific 
size?

_______________________________________________
varnish-misc mailing list
[email protected]<mailto:[email protected]>
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to