{"action":"closed","number":176,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/176","id":194115713,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MTE1NzEz","html_url":"https://github.com/GoogleCloudPlatform/cloudsql-proxy/pull/176","diff_url":"https://github.com/GoogleCloudPlatform/cloudsql-proxy/pull/176.diff","patch_url":"https://github.com/GoogleCloudPlatform/cloudsql-proxy/pull/176.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues/176","number":176,"state":"closed","locked":false,"title":"Check for file descriptor limit on startup.","user":{"login":"easwars","id":1638487,"node_id":"MDQ6VXNlcjE2Mzg0ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/1638487?v=4","gravatar_id":"","url":"https://api.github.com/users/easwars","html_url":"https://github.com/easwars","followers_url":"https://api.github.com/users/easwars/followers","following_url":"https://api.github.com/users/easwars/following{/other_user}","gists_url":"https://api.github.com/users/easwars/gists{/gist_id}","starred_url":"https://api.github.com/users/easwars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easwars/subscriptions","organizations_url":"https://api.github.com/users/easwars/orgs","repos_url":"https://api.github.com/users/easwars/repos","events_url":"https://api.github.com/users/easwars/events{/privacy}","received_events_url":"https://api.github.com/users/easwars/received_events","type":"User","site_admin":false},"body":"Make the proxy check for file descriptor limit at startup using rlimit,\r\nand set it to a value which can support 4k connections if required.\r\n\r\nAlso, add a flag where the user can override the value to a different\r\none. Useful in cases where the proxy is used to connect to more than one\r\ninstance.\r\n\r\nFailure to set appropriate rlimits only leads to warning messages being\r\nlogged, and the proxy will startup as usual.","created_at":"2018-06-11T22:02:42Z","updated_at":"2018-06-12T01:30:30Z","closed_at":"2018-06-12T01:30:30Z","merged_at":null,"merge_commit_sha":"6030afe5a0e38db6b53ca1cf2f6158cd86f83ac7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hfwang","id":5191,"node_id":"MDQ6VXNlcjUxOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5191?v=4","gravatar_id":"","url":"https://api.github.com/users/hfwang","html_url":"https://github.com/hfwang","followers_url":"https://api.github.com/users/hfwang/followers","following_url":"https://api.github.com/users/hfwang/following{/other_user}","gists_url":"https://api.github.com/users/hfwang/gists{/gist_id}","starred_url":"https://api.github.com/users/hfwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfwang/subscriptions","organizations_url":"https://api.github.com/users/hfwang/orgs","repos_url":"https://api.github.com/users/hfwang/repos","events_url":"https://api.github.com/users/hfwang/events{/privacy}","received_events_url":"https://api.github.com/users/hfwang/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/176/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/176/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues/176/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/statuses/35ad952679159c3eb7129230c6d63b6e646896c0","head":{"label":"easwars:b151","ref":"b151","sha":"35ad952679159c3eb7129230c6d63b6e646896c0","user":{"login":"easwars","id":1638487,"node_id":"MDQ6VXNlcjE2Mzg0ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/1638487?v=4","gravatar_id":"","url":"https://api.github.com/users/easwars","html_url":"https://github.com/easwars","followers_url":"https://api.github.com/users/easwars/followers","following_url":"https://api.github.com/users/easwars/following{/other_user}","gists_url":"https://api.github.com/users/easwars/gists{/gist_id}","starred_url":"https://api.github.com/users/easwars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easwars/subscriptions","organizations_url":"https://api.github.com/users/easwars/orgs","repos_url":"https://api.github.com/users/easwars/repos","events_url":"https://api.github.com/users/easwars/events{/privacy}","received_events_url":"https://api.github.com/users/easwars/received_events","type":"User","site_admin":false},"repo":{"id":136957337,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY5NTczMzc=","name":"cloudsql-proxy","full_name":"easwars/cloudsql-proxy","owner":{"login":"easwars","id":1638487,"node_id":"MDQ6VXNlcjE2Mzg0ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/1638487?v=4","gravatar_id":"","url":"https://api.github.com/users/easwars","html_url":"https://github.com/easwars","followers_url":"https://api.github.com/users/easwars/followers","following_url":"https://api.github.com/users/easwars/following{/other_user}","gists_url":"https://api.github.com/users/easwars/gists{/gist_id}","starred_url":"https://api.github.com/users/easwars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easwars/subscriptions","organizations_url":"https://api.github.com/users/easwars/orgs","repos_url":"https://api.github.com/users/easwars/repos","events_url":"https://api.github.com/users/easwars/events{/privacy}","received_events_url":"https://api.github.com/users/easwars/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/easwars/cloudsql-proxy","description":null,"fork":true,"url":"https://api.github.com/repos/easwars/cloudsql-proxy","forks_url":"https://api.github.com/repos/easwars/cloudsql-proxy/forks","keys_url":"https://api.github.com/repos/easwars/cloudsql-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/easwars/cloudsql-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/easwars/cloudsql-proxy/teams","hooks_url":"https://api.github.com/repos/easwars/cloudsql-proxy/hooks","issue_events_url":"https://api.github.com/repos/easwars/cloudsql-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/easwars/cloudsql-proxy/events","assignees_url":"https://api.github.com/repos/easwars/cloudsql-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/easwars/cloudsql-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/easwars/cloudsql-proxy/tags","blobs_url":"https://api.github.com/repos/easwars/cloudsql-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/easwars/cloudsql-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/easwars/cloudsql-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/easwars/cloudsql-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/easwars/cloudsql-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/easwars/cloudsql-proxy/languages","stargazers_url":"https://api.github.com/repos/easwars/cloudsql-proxy/stargazers","contributors_url":"https://api.github.com/repos/easwars/cloudsql-proxy/contributors","subscribers_url":"https://api.github.com/repos/easwars/cloudsql-proxy/subscribers","subscription_url":"https://api.github.com/repos/easwars/cloudsql-proxy/subscription","commits_url":"https://api.github.com/repos/easwars/cloudsql-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/easwars/cloudsql-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/easwars/cloudsql-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/easwars/cloudsql-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/easwars/cloudsql-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/easwars/cloudsql-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/easwars/cloudsql-proxy/merges","archive_url":"https://api.github.com/repos/easwars/cloudsql-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/easwars/cloudsql-proxy/downloads","issues_url":"https://api.github.com/repos/easwars/cloudsql-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/easwars/cloudsql-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/easwars/cloudsql-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/easwars/cloudsql-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/easwars/cloudsql-proxy/labels{/name}","releases_url":"https://api.github.com/repos/easwars/cloudsql-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/easwars/cloudsql-proxy/deployments","created_at":"2018-06-11T17:11:47Z","updated_at":"2018-06-11T17:11:49Z","pushed_at":"2018-06-12T01:29:43Z","git_url":"git://github.com/easwars/cloudsql-proxy.git","ssh_url":"git@github.com:easwars/cloudsql-proxy.git","clone_url":"https://github.com/easwars/cloudsql-proxy.git","svn_url":"https://github.com/easwars/cloudsql-proxy","homepage":null,"size":229,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"c9c6b753c7f39940fbc03929c7730dd65745fcb8","user":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":43526067,"node_id":"MDEwOlJlcG9zaXRvcnk0MzUyNjA2Nw==","name":"cloudsql-proxy","full_name":"GoogleCloudPlatform/cloudsql-proxy","owner":{"login":"GoogleCloudPlatform","id":2810941,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MTA5NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/cloudsql-proxy","description":null,"fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/deployments","created_at":"2015-10-01T23:13:02Z","updated_at":"2018-06-10T06:51:28Z","pushed_at":"2018-06-12T01:29:45Z","git_url":"git://github.com/GoogleCloudPlatform/cloudsql-proxy.git","ssh_url":"git@github.com:GoogleCloudPlatform/cloudsql-proxy.git","clone_url":"https://github.com/GoogleCloudPlatform/cloudsql-proxy.git","svn_url":"https://github.com/GoogleCloudPlatform/cloudsql-proxy","homepage":null,"size":228,"stargazers_count":294,"watchers_count":294,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":89,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":89,"open_issues":33,"watchers":294,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/176"},"html":{"href":"https://github.com/GoogleCloudPlatform/cloudsql-proxy/pull/176"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues/176"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/issues/176/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/176/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/pulls/176/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/cloudsql-proxy/statuses/35ad952679159c3eb7129230c6d63b6e646896c0"}},"author_association":"COLLABORATOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":0,"deletions":0,"changed_files":0}}
{"actor":{"display_login":"easwars"}}