Question regarding Varnish memory usage
Daniel
dhose0 at gmail.com
Wed Jun 25 16:59:01 CEST 2014
Hi again,
Yesterday the Varnish (version 4.0.0) child process restarted with the
error below in syslog. Varnish had been running for 7 days with 9 GB
malloc on a host with 14 GB memory when the error occurred. The number
of objects (MAIN.n_object) was approximately 70 000.
Any ideas what happened here? I thought that 5 GB of "extra" memory
would be more than enough.
I have afterwards upgraded to version 4.0.1, changed to 8 GB malloc and
lowered the grace time from 60 minutes to 45 minutes.
Jun 24 14:48:58 varnish varnishd[48344]: Child (58488) Panic message:
Assert error in mpl_alloc(), cache/cache_mempool.c line 80:#012
Condition((mi) != 0) not true.#012errno = 12 (Cannot allocate
memory)#012thread = (MPL_req0)#012ident =
Linux,2.6.32-431.17.1.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012
Thanks!
Regards,
Daniel
More information about the varnish-misc
mailing list