Memcached crashing on FreeBSD

Brad Fitzpatrick brad at danga.com
Mon Apr 11 09:37:40 PDT 2005


On Mon, 11 Apr 2005, Anatoly Vorobey wrote:

> It's normal for memcache to fail to allocate a new slab with
> malloc(); in this case malloc() should just return an error, but
> it aborts on your system, probably due to your configuration of
> /etc/malloc.conf . See malloc(3). You can try running memcached
> with MALLOC_OPTIONS set to "a"; that should override your
> /etc/malloc.conf settings if that's the problem.

Can a program change the a/A flag, essentially telling libc that we can
handle memory failures gracefully?

- Brad



More information about the memcached mailing list