Created
July 27, 2011 15:21
-
-
Save kazeburo/1109600 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2) | |
| Copyright (C) 2009 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| 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-redhat-linux-gnu". | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>. | |
| Attaching to process 19110 | |
| Reading symbols from /tmp/memcached-1.4.6/memcached...done. | |
| Reading symbols from /tmp/libevent/lib/libevent-1.4.so.2...done. | |
| Loaded symbols for /tmp/libevent/lib/libevent-1.4.so.2 | |
| Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. | |
| [Thread debugging using libthread_db enabled] | |
| [New Thread 0x4368f940 (LWP 19115)] | |
| [New Thread 0x42c8e940 (LWP 19114)] | |
| [New Thread 0x4228d940 (LWP 19113)] | |
| [New Thread 0x41636940 (LWP 19112)] | |
| [New Thread 0x40c35940 (LWP 19111)] | |
| Loaded symbols for /lib64/libpthread.so.0 | |
| Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. | |
| Loaded symbols for /lib64/libc.so.6 | |
| Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done. | |
| Loaded symbols for /lib64/libnsl.so.1 | |
| Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done. | |
| Loaded symbols for /lib64/librt.so.1 | |
| Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done. | |
| Loaded symbols for /lib64/libresolv.so.2 | |
| Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. | |
| Loaded symbols for /lib64/ld-linux-x86-64.so.2 | |
| Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. | |
| Loaded symbols for /lib64/libnss_files.so.2 | |
| warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff577fc000 | |
| 0x000000391c80d4c4 in __lll_lock_wait () from /lib64/libpthread.so.0 | |
| (gdb) bt | |
| #0 0x000000391c80d4c4 in __lll_lock_wait () from /lib64/libpthread.so.0 | |
| #1 0x000000391c808e1a in _L_lock_1034 () from /lib64/libpthread.so.0 | |
| #2 0x000000391c808cdc in pthread_mutex_lock () from /lib64/libpthread.so.0 | |
| #3 0x000000000040db6d in accept_new_conns (do_accept=true) at thread.c:183 | |
| #4 0x0000000000402924 in maxconns_handler (fd=<value optimized out>, which=<value optimized out>, arg=<value optimized out>) at memcached.c:140 | |
| #5 0x000000000040db75 in accept_new_conns (do_accept=false) at thread.c:184 | |
| #6 0x000000000040a42b in drive_machine (fd=<value optimized out>, which=<value optimized out>, arg=0x8d7d2b0) at memcached.c:3483 | |
| #7 event_handler (fd=<value optimized out>, which=<value optimized out>, arg=0x8d7d2b0) at memcached.c:3776 | |
| #8 0x00002ae9dd279708 in event_process_active (base=0x8d6d2d0, flags=0) at event.c:395 | |
| #9 event_base_loop (base=0x8d6d2d0, flags=0) at event.c:547 | |
| #10 0x0000000000407aa2 in main (argc=<value optimized out>, argv=<value optimized out>) at memcached.c:4824 | |
| (gdb) p conn_lock | |
| $1 = {__data = {__lock = 2, __count = 0, __owner = 19110, __nusers = 1, __kind = 0, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, | |
| __size = "\002\000\000\000\000\000\000\000\246J\000\000\001", '\000' <repeats 26 times>, __align = 2} | |
| (gdb) p allow_new_conns | |
| $2 = true | |
| (gdb) p stats | |
| $3 = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, | |
| __align = 0}, curr_items = 0, total_items = 0, curr_bytes = 0, curr_conns = 1, total_conns = 1245317, conn_structs = 998, get_cmds = 0, set_cmds = 0, get_hits = 0, | |
| get_misses = 0, evictions = 0, reclaimed = 0, started = 0, accepting_conns = false, listen_disabled_num = 11577} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment