Memory leak in varnishncsa ?

Dag-Erling Smørgrav des at
Tue Jul 31 08:12:08 CEST 2007

Fredrik Neij <fredrik.neij at> writes:
> root at lb:/tmp# varnishncsa > v.log
> Assert error in trimline(), varnishncsa.c line 160:
>   Condition(p != NULL) not true.
>   errno = 12 (Cannot allocate memory)
> Aborted
> It just keeps growing until it's out of memory.

I've looked long and hard at the code, and while I did identify some
memory leaks, they were all in code paths related to the -b option,
which you don't seem to use.

Could you either run varnishncsa under valgrind and send me the results,
or send me the log file so I can try to track down the leak?

Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-misc mailing list