{"action":"created","issue":{"url":"https://api.github.com/repos/cf-tm-bot/diego/issues/246","repository_url":"https://api.github.com/repos/cf-tm-bot/diego","labels_url":"https://api.github.com/repos/cf-tm-bot/diego/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/cf-tm-bot/diego/issues/246/comments","events_url":"https://api.github.com/repos/cf-tm-bot/diego/issues/246/events","html_url":"https://github.com/cf-tm-bot/diego/issues/246","id":180979754,"number":246,"title":"The stress-app seems to be holding onto connections and not closing them appropriately. - Story Id: 131664763","user":{"login":"cf-tm-bot","id":20690070,"avatar_url":"https://avatars.githubusercontent.com/u/20690070?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-tm-bot","html_url":"https://github.com/cf-tm-bot","followers_url":"https://api.github.com/users/cf-tm-bot/followers","following_url":"https://api.github.com/users/cf-tm-bot/following{/other_user}","gists_url":"https://api.github.com/users/cf-tm-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-tm-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-tm-bot/subscriptions","organizations_url":"https://api.github.com/users/cf-tm-bot/orgs","repos_url":"https://api.github.com/users/cf-tm-bot/repos","events_url":"https://api.github.com/users/cf-tm-bot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-tm-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cf-tm-bot/diego/labels/accepted","name":"accepted","color":"4e8200"},{"url":"https://api.github.com/repos/cf-tm-bot/diego/labels/chore","name":"chore","color":"ededed"},{"url":"https://api.github.com/repos/cf-tm-bot/diego/labels/perf","name":"perf","color":"ededed"},{"url":"https://api.github.com/repos/cf-tm-bot/diego/labels/perf:breadth-250k","name":"perf:breadth-250k","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-04T19:15:32Z","updated_at":"2016-10-05T17:14:57Z","closed_at":"2016-10-05T17:14:32Z","body":"While doing the perf test we noticed that the individual app instances seem to have way more connections in the established state than expected. For a medium load app with a req/s of 0.6, we were expecting maybe 2-3 connections, but on doing a `cf ssh` into one of them found 21 connections in the established state. Investigate this.\n\nAcceptance\n1. When a medium app is deployed, going into its instance container we should be able to see at max 2-3 connections.\n\n---\n\nMirrors: [story 131664763](https://www.pivotaltracker.com/story/show/131664763) submitted on Oct 4, 2016 UTC\n- **Requester**: Anoop Gopalakrishnan\n- **Owners**: Brandon Shroyer, Danny Cao\n- **Estimate**: 0.0"},"comment":{"url":"https://api.github.com/repos/cf-tm-bot/diego/issues/comments/251738562","html_url":"https://github.com/cf-tm-bot/diego/issues/246#issuecomment-251738562","issue_url":"https://api.github.com/repos/cf-tm-bot/diego/issues/246","id":251738562,"user":{"login":"cf-tm-bot","id":20690070,"avatar_url":"https://avatars.githubusercontent.com/u/20690070?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-tm-bot","html_url":"https://github.com/cf-tm-bot","followers_url":"https://api.github.com/users/cf-tm-bot/followers","following_url":"https://api.github.com/users/cf-tm-bot/following{/other_user}","gists_url":"https://api.github.com/users/cf-tm-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-tm-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-tm-bot/subscriptions","organizations_url":"https://api.github.com/users/cf-tm-bot/orgs","repos_url":"https://api.github.com/users/cf-tm-bot/repos","events_url":"https://api.github.com/users/cf-tm-bot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-tm-bot/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T17:14:57Z","updated_at":"2016-10-05T17:14:57Z","body":"Danny Cao [commented](https://www.pivotaltracker.com/n/projects/1003146/stories/131664763/comments/151624275) on Oct 5, 2016, 3.33 PM UTC:\n\nWe tried setting `MaxIdleConns`, `DisableKeepAlives`, and even trying to set a timeout for the client but nothing seemed to work super well. `@pt:anoopg` might remember more what the results of the latter 2 were.  For `MaxIdleConns` we just saw monotonically increasing number of connections for some reason.\n\n<!--\nComment Id: 151624275\n-->"}}
{"actor":{"display_login":"cf-tm-bot"}}