Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-3121

slow moxi mem leaks on reconfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.0
    • None
    • moxi
    • Security Level: Public
    • None

    Description

      on osx, running dev build of moxi with...

      MallocScribbe=1 MallocGuardEdges=1 MallocStackLogging=1 MallocErrorAbort=1 ./moxi -Z port_listen=13001,usr=Administrator,pwd=111111,default_bucket_name=default,downstream_max=1024,downstream_conn_max=16,connect_max_errors=3,connect_retry_interval=30000,connect_timeout=400,auth_timeout=100,cycle=200,downstream_conn_queue_timeout=200,downstream_timeout=5000,wait_queue_timeout=200 -z url=http://127.0.0.1:9000/pools/default/saslBucketsStreaming -p 0 -Y y -O stderr

      and memcachetest of...

      ../memcachetest/memcachetest -h 127.0.0.1:13001 -i 1000 -c 10000 -l -t 30

      then leaks shows output of...

      Leak: 0x101a47000 size=6656 zone: DefaultMallocZone_0x1000f8000 string '?'
      Call stack: [thread 0x100504000]: | thread_start | _pthread_start | worker_libevent | event_base_loop | drive_machine | try_read_command | cproxy_process_upstream_ascii | cproxy_assign_downstream | cproxy_reserve_downstream | cproxy_add_downstream | cproxy_create_downstream | cproxy_copy_behaviors | calloc | malloc_zone_calloc
      Leak: 0x101a4ba00 size=6656 zone: DefaultMallocZone_0x1000f8000 string '?'
      Call stack: [thread 0x10060a000]: | thread_start | _pthread_start | worker_libevent | event_base_loop | drive_machine | cproxy_assign_downstream | cproxy_reserve_downstream | cproxy_add_downstream | cproxy_create_downstream | cproxy_copy_behaviors | calloc | malloc_zone_calloc
      Leak: 0x101a52400 size=6656 zone: DefaultMallocZone_0x1000f8000 string '?'
      Call stack: [thread 0x100587000]: | thread_start | _pthread_start | worker_libevent | event_base_loop | drive_machine | try_read_command | cproxy_process_upstream_ascii | cproxy_assign_downstream | cproxy_reserve_downstream | cproxy_add_downstream | cproxy_create_downstream | cproxy_copy_behaviors | calloc | malloc_zone_calloc
      Leak: 0x101a53e00 size=6656 zone: DefaultMallocZone_0x1000f8000 string '?'
      Call stack: [thread 0x100587000]: | thread_start | _pthread_start | worker_libevent | event_base_loop | drive_machine | try_read_command | cproxy_process_upstream_ascii | cproxy_assign_downstream | cproxy_reserve_downstream | cproxy_add_downstream | cproxy_create_downstream | cproxy_copy_behaviors | calloc | malloc_zone_calloc
      Leak: 0x100203c30 size=48 zone: DefaultMallocZone_0x1000f8000 string '127.0.0.1:12006:default:(null):0'
      Call stack: [thread 0x100504000]: | thread_start | _pthread_start | worker_libevent | event_base_loop | drive_machine | cproxy_assign_downstream | cproxy_forward | cproxy_forward_a2b_downstream | cproxy_connect_downstream | zstored_acquire_downstream_conn | strdup | malloc | malloc_zone_malloc
      Leak: 0x100203ca0 size=48 zone: DefaultMallocZone_0x1000f8000 string '127.0.0.1:12006:default:(null):0'
      Call stack: [thread 0x100504000]: | thread_start | _pthread_start | worker_libevent | event_base_loop | drive_machine | cproxy_assign_downstream | cproxy_forward | cproxy_forward_a2b_downstream | cproxy_connect_downstream | zstored_acquire_downstream_conn | strdup | malloc | malloc_zone_malloc

      [... many repeats of those host_ident/strdup and behaviors/calloc leaks ...]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dipti Dipti Borkar (Inactive)
            steve Steve Yen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty