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

Allow disk write queue cap to be modified at runtime

    Details

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

      Activity

      Hide
      thuan Thuan Nguyen added a comment -

      Integrated in github-ep-engine-2-0 #131 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/131/)

      Show
      thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #131 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/131/ )
      Hide
      perry Perry Krug added a comment -

      This behavior needs to be changed.

      The current method is to use '-1' to disable the cap completely, but there are a variety of problems with that including the fact that cbflushctl can't be used to actually set a -1:
      [perry@Membase1 ~]$ /opt/couchbase/bin/cbflushctl localhost:11210 set tap_throttle_queue_cap "-1"
      usage: cbflushctl [options]

      cbflushctl: error: no such option: -1

      Please change it so that a value of '0' disables the cap

      Show
      perry Perry Krug added a comment - This behavior needs to be changed. The current method is to use '-1' to disable the cap completely, but there are a variety of problems with that including the fact that cbflushctl can't be used to actually set a -1: [perry@Membase1 ~] $ /opt/couchbase/bin/cbflushctl localhost:11210 set tap_throttle_queue_cap "-1" usage: cbflushctl [options] cbflushctl: error: no such option: -1 Please change it so that a value of '0' disables the cap
      Hide
      mikew Mike Wiederhold added a comment -

      We would rather fix cbflushctl in this case since it should be able to accept negative numbers. Setting the tap_throttle_queue_cap to -1 works in ep-engine.

      Show
      mikew Mike Wiederhold added a comment - We would rather fix cbflushctl in this case since it should be able to accept negative numbers. Setting the tap_throttle_queue_cap to -1 works in ep-engine.
      Hide
      perry Perry Krug added a comment -

      I also tried to set it at the Erlang level with:
      wget O --user=<user> --password=<pass> --post-data='ns_bucket:update_bucket_props("default", [

      {extra_config_string, "tap_throttle_queue_cap=-1"}

      ]).' http://localhost:8091/diag/eval

      And the memcached process failed to start with this message in the logs;

      [user:info] [2012-01-17 13:53:41] [ns_1@127.0.0.1:<0.8646.1>:ns_port_server:handle_info:96] Port server memcached on node 'ns_1@127.0.0.1' exited with status 139. Restarting. Messages: Invalid entry, Key: <tap_throttle_queue_cap> Value: <-1>

      Since this works fine with a value other than -1, I assumed the problem was not just with cbflushctl...

      Show
      perry Perry Krug added a comment - I also tried to set it at the Erlang level with: wget O --user=<user> --password=<pass> --post-data='ns_bucket:update_bucket_props("default", [ {extra_config_string, "tap_throttle_queue_cap=-1"} ]).' http://localhost:8091/diag/eval And the memcached process failed to start with this message in the logs; [user:info] [2012-01-17 13:53:41] [ns_1@127.0.0.1:<0.8646.1>:ns_port_server:handle_info:96] Port server memcached on node 'ns_1@127.0.0.1' exited with status 139. Restarting. Messages: Invalid entry, Key: <tap_throttle_queue_cap> Value: <-1> Since this works fine with a value other than -1, I assumed the problem was not just with cbflushctl...
      Hide
      steve Steve Yen added a comment -

      Reassigning to Jin, regarding the -1.

      Show
      steve Steve Yen added a comment - Reassigning to Jin, regarding the -1.
      Hide
      farshid Farshid Ghods (Inactive) added a comment -

      we should also add this to documentation.
      adding MC to the ticket

      Show
      farshid Farshid Ghods (Inactive) added a comment - we should also add this to documentation. adding MC to the ticket
      Hide
      thuan Thuan Nguyen added a comment -

      Integrated in github-ep-engine-2-0 #282 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/282/)
      MB-4418: tap_throttle_queue_cap in cbflushctl takes 'infinite' argument (Revision 7c4203378ab21f598247b88eefddf7d55e0bf124)

      Result = SUCCESS
      Mike Wiederhold :
      Files :

      • management/cbflushctl
      Show
      thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #282 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/282/ ) MB-4418 : tap_throttle_queue_cap in cbflushctl takes 'infinite' argument (Revision 7c4203378ab21f598247b88eefddf7d55e0bf124) Result = SUCCESS Mike Wiederhold : Files : management/cbflushctl

        People

        • Assignee:
          mikew Mike Wiederhold
          Reporter:
          perry Perry Krug
        • Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: