We're having an issue on our Mercury installation where Varnish will unexpectedly and require a manual restart -- this is obviously a pretty big deal given that our site effectively goes down until it is remedied. A look at the syslog reveals the following:
Feb 14 02:17:06 ip-xx-xx-xx-xx kernel: Out of Memory: Kill process 4493 (vshd) score 356911 and children.
Feb 14 02:17:06 ip-xx-xx-xx-xx kernel: Out of memory: Killed process 4493 nishd).
What is the best way to prevent this from happening? I would much rather Varnish dump it's cache than lose the process all-together.