Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-11-10 Thread Ken Brownfield
Note that the linked article is from 2004. The kernels that RedHat uses are a bag of hurt, not to mention ancient. If you can upgrade to RHELl5 that may be the easiest fix (I can only assume that the mmap limitation has been removed). Perhaps RedHat has newer RHELl4 kernels in a bleeding edge

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-11-10 Thread Michael S. Fischer
amd64 refers to the architecture (AKA x86_64), not the particular CPU vendor. (As a matter of fact, I was unaware of this limitation; AFAIK it does not exist in FreeBSD.) In any event, mmap()ing 340GB even on a 64GB box is a recipe for disaster; you will probably suffer death by paging if

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-11-10 Thread GaneshKumar Natarajan
Thanks. I checked /proc/cpuinfo and it shows intel processor. So even with Intel, we see this limitation of 340 GB. This is a serious limitation to me, since in Squid, we were using 1.5 TB of storage and i thought i could mmap and use all the space for Varnish. Any workarounds or working kernel ver

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-11-09 Thread cripy
GaneshKumar Natarajan writes: Tue, 20 Oct 2009 12:35:00 -0700 3. mmap storage : max i can configure is 340 GB. I was able to use only 340 GB of cache. any size after this, i would get error. child (25790) Started Pushing vcls failed: dlopen(./vcl.1P9zoqAU.so): ./vcl.1P9zoqAU.so: failed to map segm

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-10-27 Thread GaneshKumar Natarajan
> Does it work if you run it with multiple -s arguments that are each > smaller? Can you paste the output of ulimit -a? Yes, am able to start with multiple -s mmap option. -s file,/squid/cache1,60G \ -s file,/squid/cache2,60G \ -s file,/squid/cache3,60G \ -s file,/squid/cache4,60G \ if total exc

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-10-27 Thread Tollef Fog Heen
]] GaneshKumar Natarajan | Thanks Tollef Fog Heen for the response. | > | 3. mmap storage : max i can configure is 340 GB. | > This looks weird. Can you tell us something about what OS and kernel | > versions you are running? | | Please find the details below. Let me know what i could try to |

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-10-26 Thread GaneshKumar Natarajan
Thanks Tollef Fog Heen for the response. > | 3. mmap storage : max i can configure is 340 GB. > This looks weird. Can you tell us something about what OS and kernel > versions you are running? Please find the details below. Let me know what i could try to increase mmap storage from my current li

Re: varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-10-22 Thread Tollef Fog Heen
]] GaneshKumar Natarajan | 1. varnish doesn't send IMS request, when the object expires. Correct. This is somewhat hard to do, but we see the request coming in regularly so it's something we might want to change at some point. I don't believe there is any way to achieve this using VCL. | 2. V

varnish 2.0.4 questions - no IMS, no persistence cache - please help

2009-10-20 Thread GaneshKumar Natarajan
I have used squid for last 2 years and i wanted to move to varnish mainly because of the performance. I have the following observations/questions in varnish 2.0.4. kindly help with my questions. Regards Ganesh 1. varnish doesn't send IMS request, when the object expires. detail: When a object i