{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/958","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/958/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/958/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/958/events","html_url":"https://github.com/couchbase/sync_gateway/issues/958","id":92466127,"number":958,"title":"Add memory debugging for perfcluster-aws testing","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-01T19:26:27Z","updated_at":"2015-07-02T00:13:04Z","closed_at":"2015-07-02T00:11:16Z","body":"From discussions yesterday with @ajres, it seems useful to have `GODEBUG=gctrace=1` enabled by default, which will cause detailed GC information to be emitted into the Sync Gateway logs."},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/117858518","html_url":"https://github.com/couchbase/sync_gateway/issues/958#issuecomment-117858518","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/958","id":117858518,"user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T00:13:04Z","updated_at":"2015-07-02T00:13:04Z","body":"@ajres to modify your current cluster so that gc debug info appears in the sync gateway logs:\r\n\r\n* `sudo bash`\r\n* `sed -i '/\\[Service\\]/a Environment=\"GODEBUG=gctrace=1\"' /usr/lib/systemd/system/sync_gateway.service`\r\n* `systemctl daemon-reload `\r\n* `systemctl restart sync_gateway.service`"}}