thank you for response ,here is the stats command show:
STAT pid 25682
STAT uptime 1110901
STAT time 1336619479
STAT version 1.4.13
STAT libevent 1.4.14b-stable
STAT pointer_size 64
STAT rusage_user 77287.380532
STAT rusage_system 189824.220332
STAT curr_connections 183
STAT total_connections 2127367424
STAT connection_structures 4882
STAT reserved_fds 40
STAT cmd_get 1701673335
STAT cmd_set 744414180
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 1462167441
STAT get_misses 239505894
STAT delete_misses 69425540
STAT delete_hits 1279021
STAT incr_misses 332
STAT incr_hits 452567424
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 253805193105
STAT bytes_written 801603247301
STAT limit_maxbytes 8589934592
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 8
STAT conn_yields 0
STAT hash_power_level 24
STAT hash_bytes 134217728
STAT hash_is_expanding 0
STAT expired_unfetched 77558615
STAT evicted_unfetched 415180
STAT bytes 6991117045
STAT curr_items 19108525
STAT total_items 1196981580
STAT evictions 464654
STAT reclaimed 81286337

stats settings :
STAT maxbytes 0
STAT maxconns 8192
STAT tcpport 11211
STAT udpport 11211
STAT inter 172.16.1.123
STAT verbosity 2
STAT oldest 0
STAT evictions on
STAT domain_socket NULL
STAT umask 700
STAT growth_factor 1.25
STAT chunk_size 48
STAT num_threads 8
STAT num_threads_per_udp 8
STAT stat_key_prefix :
STAT detail_enabled no
STAT reqs_per_event 20
STAT cas_enabled yes
STAT tcp_backlog 1024
STAT binding_protocol auto-negotiate
STAT auth_enabled_sasl no
STAT item_size_max 1048576
STAT maxconns_fast no
STAT hashpower_init 0
STAT slab_reassign no
STAT slab_automove no

i don't set the hash_power_level ,it's on a production traffic, i
can't reproducting
now  i start the memcached with -v to get more information.

On 4月29日, 上午2时38分, dormando <[email protected]> wrote:
> Under 1.4.13, you can use the -o hashpower to pre-size the hash table
> (it's a multiple, so don't set it very high!). If you have non-crashed
> instances which have been running for a while, you can use the "stats"
> command to see what the current power level is.
>
> If you start instances with a large enough hashpower, does your crash go
> away?
>
> And, again, how are you generating this crash? Just from production
> traffic?
>
>
>
>
>
>
>
> On Sat, 28 Apr 2012, lee wrote:
> > memcahced-1.4.13 also has this problem ,the work thread  stop at this
> > step :
>
> > if ((nkey == it->nkey) && (memcmp(key, ITEM_key(it), nkey) == 0))
>
> > On 4月26日, 上午10时15分, dormando <[email protected]> wrote:
> > > We can't support crashes in old versions.
>
> > > Please upgrade to the latest (1.4.13) and file again if you still have a
> > > crash.
>
> > > On Wed, 25 Apr 2012, lee wrote:
> > > > memcached-1.4.5
> > > > i can't reproducing the bug
> > > > 2.6.30 x86_64 CentOS
>
> > > > On 4 25 , 12ʱ03 , dormando <[email protected]> wrote:
> > > > > What version of memcached is this?
>
> > > > > How are you reproducing the bug?
>
> > > > > What OS/version are you on?
>
> > > > > On Wed, 25 Apr 2012, lee wrote:
> > > > > > the  memcached main process can't accept  connect when use
> > > > > > assoc_maintenance_thread function,here is the gdb bt result:
> > > > > > we have 4 thread :
> > > > > >   |-memcached,28059 -d -p 12111 -c 8192 -m 16384 -u root -l 
> > > > > > 127.0.0.1
> > > > > >   |   |-{memcached},28060
> > > > > >   |   |-{memcached},28061
> > > > > >   |   |-{memcached},28062
> > > > > >   |   |-{memcached},28063
> > > > > >   |   `-{memcached},28064
>
> > > > > > gdb bt result:
> > > > > >  gdb -p 28060
> > > > > > GNU gdb Fedora (6.8-37.el5)
> > > > > > Copyright (C) 2008 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".
> > > > > > Attaching to process 28060
>
> > > > > > warning: process 28060 is a cloned process
> > > > > > Reading symbols from /usr/local/sinawap/bin/memcached...done.
> > > > > > Reading symbols from 
> > > > > > /usr/local/sinawap/lib/libevent-1.4.so.2...done.
> > > > > > Loaded symbols for /usr/local/sinawap/lib/libevent-1.4.so.2
> > > > > > Reading symbols from /lib64/libpthread.so.0...done.
> > > > > > [Thread debugging using libthread_db enabled]
> > > > > > [New Thread 0x7f2ec05b86e0 (LWP 28059)]
> > > > > > [New Thread 0x434f2940 (LWP 28064)]
> > > > > > [New Thread 0x42cf1940 (LWP 28063)]
> > > > > > [New Thread 0x424f0940 (LWP 28062)]
> > > > > > [New Thread 0x41cef940 (LWP 28061)]
> > > > > > [New Thread 0x414ee940 (LWP 28060)]
> > > > > > Loaded symbols for /lib64/libpthread.so.0
> > > > > > Reading symbols from /lib64/libc.so.6...done.
> > > > > > Loaded symbols for /lib64/libc.so.6
> > > > > > Reading symbols from /lib64/libnsl.so.1...done.
> > > > > > Loaded symbols for /lib64/libnsl.so.1
> > > > > > Reading symbols from /lib64/librt.so.1...done.
> > > > > > Loaded symbols for /lib64/librt.so.1
> > > > > > Reading symbols from /lib64/libresolv.so.2...done.
> > > > > > Loaded symbols for /lib64/libresolv.so.2
> > > > > > Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
> > > > > > Loaded symbols for /lib64/ld-linux-x86-64.so.2
> > > > > > Reading symbols from /lib64/libnss_files.so.2...done.
> > > > > > Loaded symbols for /lib64/libnss_files.so.2
> > > > > > 0x0000003095a0d524 in __lll_lock_wait () from /lib64/libpthread.so.0
> > > > > > (gdb) bt
> > > > > > #0  0x0000003095a0d524 in __lll_lock_wait () from 
> > > > > > /lib64/libpthread.so.
> > > > > > 0
> > > > > > #1  0x0000003095a08e1a in _L_lock_1034 () from 
> > > > > > /lib64/libpthread.so.0
> > > > > > #2  0x0000003095a08cdc in pthread_mutex_lock () from /lib64/
> > > > > > libpthread.so.0
> > > > > > #3  0x000000000040d08e in item_get (key=0x7f2cf8ac1424
> > > > > > "ttt_newuser_2272938860", nkey=128) at thread.c:343
> > > > > > #4  0x0000000000403c14 in process_get_command (c=0x7f2d3888f080,
> > > > > > tokens=0x414eded0, ntokens=0, return_cas=false)
> > > > > >     at memcached.c:2542
> > > > > > #5  0x0000000000408256 in process_command (c=0x7f2d3888f080,
> > > > > > command=<value optimized out>) at memcached.c:2975
> > > > > > #6  0x0000000000408bfe in try_read_command (c=0x7f2d3888f080) at
> > > > > > memcached.c:3185
> > > > > > #7  0x000000000040989d in event_handler (fd=<value optimized out>,
> > > > > > which=128, arg=0x7f2d3888f080) at memcached.c:3491
> > > > > > #8  0x00007f2ec05c25f8 in event_base_loop (base=0x63f420, flags=0) 
> > > > > > at
> > > > > > event.c:392
> > > > > > #9  0x000000000040cbb4 in worker_libevent (arg=0x633f70) at 
> > > > > > thread.c:
> > > > > > 245
> > > > > > #10 0x0000003095a0673d in start_thread () from 
> > > > > > /lib64/libpthread.so.0
> > > > > > #11 0x00000030952d44bd in clone () from /lib64/libc.so.6
>
> > > > > >  gdb -p 28061
> > > > > > GNU gdb Fedora (6.8-37.el5)
> > > > > > Copyright (C) 2008 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".
> > > > > > Attaching to process 28061
>
> > > > > > warning: process 28061 is a cloned process
> > > > > > Reading symbols from /usr/local/sinawap/bin/memcached...done.
> > > > > > Reading symbols from 
> > > > > > /usr/local/sinawap/lib/libevent-1.4.so.2...done.
> > > > > > Loaded symbols for /usr/local/sinawap/lib/libevent-1.4.so.2
> > > > > > Reading symbols from /lib64/libpthread.so.0...done.
> > > > > > [Thread debugging using libthread_db enabled]
> > > > > > [New Thread 0x7f2ec05b86e0 (LWP 28059)]
> > > > > > [New Thread 0x434f2940 (LWP 28064)]
> > > > > > [New Thread 0x42cf1940 (LWP 28063)]
> > > > > > [New Thread 0x424f0940 (LWP 28062)]
> > > > > > [New Thread 0x41cef940 (LWP 28061)]
> > > > > > [New Thread 0x414ee940 (LWP 28060)]
> > > > > > Loaded symbols for /lib64/libpthread.so.0
> > > > > > Reading symbols from /lib64/libc.so.6...done.
> > > > > > Loaded symbols for /lib64/libc.so.6
> > > > > > Reading symbols from /lib64/libnsl.so.1...done.
> > > > > > Loaded symbols for /lib64/libnsl.so.1
> > > > > > Reading symbols from /lib64/librt.so.1...done.
> > > > > > Loaded symbols for /lib64/librt.so.1
> > > > > > Reading symbols from /lib64/libresolv.so.2...done.
> > > > > > Loaded symbols for /lib64/libresolv.so.2
> > > > > > Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
> > > > > > Loaded symbols for /lib64/ld-linux-x86-64.so.2
> > > > > > Reading symbols from /lib64/libnss_files.so.2...done.
> > > > > > Loaded symbols for /lib64/libnss_files.so.2
> > > > > > 0x0000003095a0d524 in __lll_lock_wait () from /lib64/libpthread.so.0
> > > > > > (gdb) bt
> > > > > > #0  0x0000003095a0d524 in __lll_lock_wait () from 
> > > > > > /lib64/libpthread.so.
> > > > > > 0
> > > > > > #1  0x0000003095a08e1a in _L_lock_1034 () from 
> > > > > > /lib64/libpthread.so.0
> > > > > > #2  0x0000003095a08cdc in pthread_mutex_lock () from /lib64/
> > > > > > libpthread.so.0
> > > > > > #3  0x000000000040d0f6 in item_alloc (key=0x7f2cd3a2a0a4
> > > > > > "ttt_api_unread_2557924625", nkey=128, flags=0,
> > > > > >     exptime=4294967295, nbytes=6395456) at thread.c:331
> > > > > > #4  0x0000000000407fa7 in process_update_command (c=0x7f2ebc16e900,
> > > > > > tokens=<value optimized out>,
> > > > > >     ntokens=<value optimized out>, comm=2, handle_cas=false) at
> > > > > > memcached.c:2728
> > > > > > #5  0x00000000004083be in process_command (c=0x7f2ebc16e900,
> > > > > > command=<value optimized out>) at memcached.c:2984
> > > > > > #6  0x0000000000408bfe in try_read_command (c=0x7f2ebc16e900) at
> > > > > > memcached.c:3185
> > > > > > #7  0x000000000040989d in event_handler (fd=<value optimized out>,
> > > > > > which=128, arg=0x7f2ebc16e900) at memcached.c:3491
> > > > > > #8  0x00007f2ec05c25f8 in event_base_loop (base=0x658130, flags=0) 
> > > > > > at
> > > > > > event.c:392
> > > > > > #9  0x000000000040cbb4 in worker_libevent (arg=0x636c98) at 
> > > > > > thread.c:
> > > > > > 245
> > > > > > #10 0x0000003095a0673d in start_thread () from 
> > > > > > /lib64/libpthread.so.0
> > > > > > #11 0x00000030952d44bd in clone () from /lib64/libc.so.6
>
> > > > > > gdb -p 28062
> > > > > > GNU gdb Fedora (6.8-37.el5)
> > > > > > Copyright (C) 2008 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".
> > > > > > Attaching to process 28062
>
> > > > > > warning: process 28062 is a cloned process
> > > > > > Reading symbols from /usr/local/sinawap/bin/memcached...done.
> > > > > > Reading symbols from 
> > > > > > /usr/local/sinawap/lib/libevent-1.4.so.2...done.
> > > > > > Loaded symbols for /usr/local/sinawap/lib/libevent-1.4.so.2
> > > > > > Reading symbols from /lib64/libpthread.so.0...done.
> > > > > > [Thread debugging using libthread_db enabled]
> > > > > > [New Thread 0x7f2ec05b86e0 (LWP 28059)]
> > > > > > [New Thread 0x434f2940 (LWP 28064)]
> > > > > > [New Thread 0x42cf1940 (LWP 28063)]
> > > > > > [New Thread 0x424f0940 (LWP 28062)]
> > > > > > [New Thread 0x41cef940 (LWP 28061)]
> > > > > > [New Thread 0x414ee940 (LWP 28060)]
> > > > > > Loaded symbols for /lib64/libpthread.so.0
> > > > > > Reading symbols from /lib64/libc.so.6...done.
> > > > > > Loaded symbols for
>
> ...
>
> 阅读更多 »

Reply via email to