[Varnish] #850: jemalloc fails to init on Ubuntu 8.04

Ken Brownfield kbrownfield at google.com
Fri Jan 28 05:28:05 CET 2011


We've used 2.1.4 heavily on 8.04 LTS with jemalloc with no issues, so I
would suggest looking at your environment for a possible cause (mixed
library versions, changes to paths (PATH/LD_LIBRARY_PATH/LD_PRELOAD), etc).

Also, I'm not sure I would come to the same conclusion you have seeing that
strace... but the "..." that was omitted from the trace would probably be
the most useful.
-- 
kb



On Thu, Jan 27, 2011 at 04:31, Varnish <varnish-bugs at varnish-cache.org>wrote:

> #850: jemalloc fails to init on Ubuntu 8.04
>
> ----------------------+-----------------------------------------------------
>  Reporter:  miohtama  |        Type:  defect
>   Status:  new       |    Priority:  normal
> Milestone:            |   Component:  varnishd
>  Version:  2.1.4     |    Severity:  minor
>  Keywords:            |
>
> ----------------------+-----------------------------------------------------
>
> Comment(by miohtama):
>
>  Ok. I have no idea how to further debug this. Looks like read() triggers
>  dynamic DLL call which causes the malloc.
>
>  Was libdl before operating without a malloc call? Looks like it is
>  wrapping all calls to
>
>  Is it an error condition causing this malloc call?
>
>  Is it possible to statically link against libc to avoid dynamic DLL load
>  for read.
>
> --
> Ticket URL: <http://www.varnish-cache.org/trac/ticket/850#comment:6>
> Varnish <http://varnish-cache.org/>
> The Varnish HTTP Accelerator
>
> _______________________________________________
> varnish-bugs mailing list
> varnish-bugs at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-bugs/attachments/20110127/82cd9f25/attachment.html>


More information about the varnish-bugs mailing list