qa1-be2:~ # ps -fu couch | grep memcach couch 30110 29947 4 11:13 ? 00:13:58 /opt/couchbase/bin/memcached -X /opt/couchbase/lib/memcached/stdin_term_handler.so -X /opt/couchbase/lib/memcached/file_logger.so,cyclesize=104857600;sleeptime=19;filename=/opt/couchbase/var/lib/couchbase/logs/memcached.log -l 0.0.0.0:11210,0.0.0.0:11209:1000 -p 11210 -E /opt/couchbase/lib/memcached/bucket_engine.so -B binary -r -c 10000 -e admin=_admin;default_bucket_name=default;auto_create=false qa1-be2:~ # gdb -p 30110 GNU gdb (GDB) SUSE (7.5.1-0.7.29) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". For bug reporting instructions, please see: . Attaching to process 30110 Reading symbols from /opt/couchbase/bin/memcached...done. Reading symbols from /opt/couchbase/lib/memcached/libmemcached_utilities.so.0...done. Loaded symbols for /opt/couchbase/lib/memcached/libmemcached_utilities.so.0 Reading symbols from /opt/couchbase/lib/libevent-2.0.so.5...(no debugging symbols found)...done. Loaded symbols for /opt/couchbase/lib/libevent-2.0.so.5 Reading symbols from /lib64/libdl.so.2...Missing separate debuginfo for /lib64/libdl.so.2 Try: zypper install -C "debuginfo(build-id)=61f1824892113fa0cbaaa4c1831ad5b732e78525" (no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libm.so.6...Missing separate debuginfo for /lib64/libm.so.6 Try: zypper install -C "debuginfo(build-id)=86e0c9994d16f010cb58cdd68cbedf4899c67ba0" (no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/librt.so.1...Missing separate debuginfo for /lib64/librt.so.1 Try: zypper install -C "debuginfo(build-id)=3aa2aae918264415a943ee5ee2b872bb9c6194a2" (no debugging symbols found)...done. Loaded symbols for /lib64/librt.so.1 Reading symbols from /lib64/libpthread.so.0...Missing separate debuginfo for /lib64/libpthread.so.0 Try: zypper install -C "debuginfo(build-id)=3d8771817cc6d1d1e4b9767b9b65dd2e06a0e597" (no debugging symbols found)...done. [New LWP 30144] [New LWP 30143] [New LWP 30141] [New LWP 30140] [New LWP 30139] [New LWP 30112] [New LWP 30111] 0x00007ff5732d1294 in __lll_lock_wait () from /lib64/libpthread.so.0 (gdb) (gdb) thread apply all bt Thread 8 (Thread 0x7ff572d49700 (LWP 30111)): #0 0x00007ff5730182bd in read () from /lib64/libc.so.6 #1 0x00007ff572fbe668 in _IO_new_file_underflow () from /lib64/libc.so.6 #2 0x00007ff572fbfe4e in _IO_default_uflow_internal () from /lib64/libc.so.6 #3 0x00007ff572fb3f23 in _IO_getline_info_internal () from /lib64/libc.so.6 #4 0x00007ff572fb2bbe in fgets () from /lib64/libc.so.6 #5 0x00007ff572d4aa50 in check_stdin_thread (arg=) at extensions/daemon/stdin_check.c:37 #6 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #7 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #8 0x0000000000000000 in ?? () Thread 7 (Thread 0x7ff571d2c700 (LWP 30112)): #0 0x00007ff5732ce989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff572346f70 in logger_thead_main (arg=0x626540) at extensions/loggers/file_logger.c:368 #2 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #3 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #4 0x0000000000000000 in ?? () Thread 6 (Thread 0x7ff56a7fc700 (LWP 30139)): #0 0x00007ff5732d1294 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007ff5732cc619 in _L_lock_1008 () from /lib64/libpthread.so.0 #2 0x00007ff5732cc42e in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x00007ff57008b95a in Mutex::acquire() () from /opt/couchbase/lib/memcached/ep.so #4 0x00007ff57006d1ff in EventuallyPersistentEngine::doTapStats(void const*, void (*)(char const*, unsigned short, char const*, unsigned int, void const*)) () from /opt/couchbase/lib/memcached/ep.so #5 0x00007ff57007520d in EventuallyPersistentEngine::getStats(void const*, char const*, int, void (*)(char const*, unsigned short, char const*, unsigned int, void const*)) () from /opt/couchbase/lib/memcached/ep.so #6 0x00007ff570052e8f in EventuallyPersistentStore::snapshotStats() () from /opt/couchbase/lib/memcached/ep.so #7 0x00007ff5700abc44 in StatSnap::run() () from /opt/couchbase/lib/memcached/ep.so #8 0x00007ff57008e0a9 in ExecutorThread::run() () from /opt/couchbase/lib/memcached/ep.so #9 0x00007ff57008e786 in launch_executor_thread () from /opt/couchbase/lib/memcached/ep.so #10 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #11 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #12 0x0000000000000000 in ?? () Thread 5 (Thread 0x7ff5680af700 (LWP 30140)): #0 0x00007ff5732ce989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff57008df7e in ExecutorThread::run() () from /opt/couchbase/lib/memcached/ep.so #2 0x00007ff57008e786 in launch_executor_thread () from /opt/couchbase/lib/memcached/ep.so #3 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #4 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7ff5678ae700 (LWP 30141)): #0 0x00007ff5732ce989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 ---Type to continue, or q to quit--- #1 0x00007ff57008df7e in ExecutorThread::run() () from /opt/couchbase/lib/memcached/ep.so #2 0x00007ff57008e786 in launch_executor_thread () from /opt/couchbase/lib/memcached/ep.so #3 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #4 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7ff5668ac700 (LWP 30143)): #0 0x00007ff5732ce989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff57004a618 in IdleTask::run(Dispatcher&, SingleThreadedRCPtr&) () from /opt/couchbase/lib/memcached/ep.so #2 0x00007ff57004cb27 in Dispatcher::run() () from /opt/couchbase/lib/memcached/ep.so #3 0x00007ff57004d2d6 in launch_dispatcher_thread () from /opt/couchbase/lib/memcached/ep.so #4 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #5 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7ff5660ab700 (LWP 30144)): #0 0x00007ff5732ce989 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ff57004a618 in IdleTask::run(Dispatcher&, SingleThreadedRCPtr&) () from /opt/couchbase/lib/memcached/ep.so #2 0x00007ff57004cb27 in Dispatcher::run() () from /opt/couchbase/lib/memcached/ep.so #3 0x00007ff57004d2d6 in launch_dispatcher_thread () from /opt/couchbase/lib/memcached/ep.so #4 0x00007ff5732ca7b6 in start_thread () from /lib64/libpthread.so.0 #5 0x00007ff573025d6d in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ff5741ba700 (LWP 30110)): #0 0x00007ff5732d1294 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007ff5732cc619 in _L_lock_1008 () from /lib64/libpthread.so.0 #2 0x00007ff5732cc42e in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x00000000004053be in release_cookie (cookie=0x45bedd0) at daemon/memcached.c:6714 #4 0x00007ff571325865 in bucket_engine_release_cookie (cookie=0x45bedd0) at bucket_engine.c:2567 #5 0x00007ff570066b79 in EventuallyPersistentEngine::releaseCookie(void const*) () from /opt/couchbase/lib/memcached/ep.so #6 0x00007ff570097376 in TapConnection::releaseReference(bool) () from /opt/couchbase/lib/memcached/ep.so #7 0x00007ff5700a7b50 in TapConnMap::shutdownAllTapConnections() () from /opt/couchbase/lib/memcached/ep.so #8 0x00007ff57006931b in EventuallyPersistentEngine::destroy(bool) () from /opt/couchbase/lib/memcached/ep.so #9 0x00007ff5700694ae in EvpDestroy () from /opt/couchbase/lib/memcached/ep.so #10 0x00007ff571322de5 in bucket_shutdown_engine (key=, nkey=, val=0x47249a0, nval=, args=) at bucket_engine.c:1290 #11 0x00007ff571327995 in genhash_iter (h=0x4719550, iterfunc=0x7ff571322db0 , arg=0x0) at genhash.c:275 #12 0x00007ff5713271b6 in bucket_destroy (handle=, force=) at bucket_engine.c:1327 #13 0x000000000040c7aa in main (argc=19, argv=0x7fff4c9e4198) at daemon/memcached.c:7944 (gdb)