Hi<br><br>I have configured varnish to use 1GB of cache:<br>-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G<br><br>but it seems that varnish aggresively uses the whole 4Gb Ram of the machine and then crashes, followed by a restart.<br>
here is the log <br><br>Apr 28 13:18:47 varnish varnishd[2952]: Child (5852) not responding to ping, killing it.<br>Apr 28 13:18:49 varnish varnishd[2952]: Child (5852) not responding to ping, killing it.<br>Apr 28 13:18:49 varnish varnishd[2952]: Child (5852) died signal=3<br>
Apr 28 13:18:49 varnish varnishd[2952]: Child cleanup complete<br>Apr 28 13:18:49 varnish varnishd[2952]: child (9522) Started<br>Apr 28 13:18:49 varnish varnishd[2952]: Child (9522) said <br>Apr 28 13:18:49 varnish varnishd[2952]: Child (9522) said Child starts<br>
Apr 28 13:18:49 varnish varnishd[2952]: Child (9522) said managed to mmap 6275375104 bytes of 6275375104<br><br><br><br>what am I doing wrong? is there a way prohibit that or at least tell varnish not to use the whole cache?<br>
<br>Thank you in advance<br><br>Shahab B.<br>