Memcached crashing on FreeBSD

Jason Coene jcoene at gotfrag.com
Fri Apr 8 12:03:54 PDT 2005


Hello,

I'm using memcached in a fairly high traffic environment (but then again,
who among us aren't!).  I have the memcached server running on FreeBSD
5.2-RELEASE and 5.3-RELEASE machines, and every day or two the service
suddenly crashes (on both machines).  There are no hardware issues with
either machine.

>From dmesg:

pid 2408 (memcached), uid 70: exited on signal 6
pid 4872 (memcached), uid 70: exited on signal 6
pid 9778 (memcached), uid 70: exited on signal 6
pid 15861 (memcached), uid 70: exited on signal 6
pid 24009 (memcached), uid 70: exited on signal 6
pid 28084 (memcached), uid 70: exited on signal 6
pid 33100 (memcached), uid 70: exited on signal 6
pid 45761 (memcached), uid 70: exited on signal 6
pid 58788 (memcached), uid 70: exited on signal 6

Libevent 0.9 built with:
./configure --prefix=/usr/local/

Memcached 1.1.11 built with:
./configure --prefix=/usr/local/ --with-libevent=/usr/local/

Memcached is run inside of a restart script (this has been happening for a
while, just tracking it down now) with commands:

screen -A -m -d -S "Memcached 11211" /usr/local/bin/memcachedrun -u
memcached -p 11211 -m 1024 -c 1024

"memcachedrun" is just an infinite loop calling /usr/local/bin/memcached $*

I've searched but couldn't find any known issues, has anyone had similar
problems?  Is there something I can do to debug the issue?

Thanks,

Jason



More information about the memcached mailing list