David Tosoff wrote:
Hey all, haven't heard anything on this and could really use some help. :)
You can disregard the HIT related questions, as once I placed this into a full scale test, it started hitting from memory wonderfully (~40% offload from the origin)
Good news...
The config works great, to a point. It fills up my memory up, but keeps going way past the "cache_mem" that I set.
http://wiki.squid-cache.org/SquidFaq/SquidMemory
I've dropped it down to 24GB, but it chews up all the memory on the system (32GB) and then continues into the swap and chews that up too. At that point, squid hangs, crashes then reloads and the cache has to spend another few hours building everything up into memory again. Like I said though, it works great...until the mem is full...
I'm now going to test with a 4GB cache_mem and see what she does.
Can anyone offer any suggestions for the best, most stable way of running a memory-only cache? is 'cache_dir null /tmp' actually what I want to be using here?
Yes.
The SO_FAIL's concern me, but I'm not sure if they should?
Perhaps
http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/msg19824.html
gives some insight. Are you using a (cache|memory)_replacement_policy
that you didn't compile support for?
Thanks!
David
Chris