Skip to content

Instantly share code, notes, and snippets.

@ingenthr
Created February 26, 2013 07:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ingenthr/5036778 to your computer and use it in GitHub Desktop.
Save ingenthr/5036778 to your computer and use it in GitHub Desktop.
raising timeouts on ns_server in couchbase
set -xe
server=192.168.1.200
curl --data "ns_config:set({node, node(),{timeout, ns_memcached_outer}},300000)." -u Administrator:password http://$server:8091/diag/eval
curl --data "ns_config:set({node, node(),{timeout, memcached_recv}},300000)." -u Administrator:password http://$server:8091/diag/eval
curl --data "ns_config:set({node, node(),{timeout, memcached_stats_recv}},300000)." -u Administrator:password http://$server:8091/diag/eval
curl --data "ns_config:set({node, node(),{timeout, ns_memcached_outer_heavy}},300000)." -u Administrator:password http://$server:8091/diag/eval
curl --data "ns_config:set({node, node(),{timeout, ns_memcached_outer_very_heavy}},600000)." -u Administrator:password http://$server:8091/diag/eval
curl --data "ns_config:set({node, node(),{timeout, ebucketmigrator_connect}},1200000)." -u Administrator:password http://$server:8091/diag/eval
@svsn2
Copy link

svsn2 commented May 22, 2013

are these values micro seconds or milli seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment