)]}'
{"id":"openvpn~2398","triplet_id":"openvpn~release%2F2.7~I978041ea4e6323f5a92d8721809f0fa44b9c2e03","project":"openvpn","branch":"release/2.7","full_branch":"refs/heads/release/2.7","topic":"listener-busy-loop-2.7","attention_set":{"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-12-03 02:43:15.000000000","reason":"Reviewer was added"}},"removed_from_attention_set":{},"hashtags":[],"change_id":"I978041ea4e6323f5a92d8721809f0fa44b9c2e03","subject":"socket: pause the listeners when accept() runs out of resources","status":"NEW","created":"2026-12-03 02:43:14.000000000","updated":"2026-12-03 02:57:41.000000000","submit_type":"CHERRY_PICK","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"6c8bf4bcc0d2c234143dbcd9f693aa301c87095a","_number":2398,"virtual_id_number":2398,"owner":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"default_value":0},"Build-Request":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"values":{" 0":"No score","+1":"Please trigger a build"},"description":"Ask buildbot to do a full build on this change version","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-12-03 02:43:15.000000000","updated_by":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"real_updated_by":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-12-03 02:43:15.000000000","updated_by":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"real_updated_by":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"}],"messages":[{"id":"5c5e1416af383dc39eb195ef01006fdb196d6edb","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"date":"2026-12-03 02:43:14.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"6c8bf4bcc0d2c234143dbcd9f693aa301c87095a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"date":"2026-12-03 02:57:41.000000000","message":"Uploaded patch set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"c958e2556d4c23eda944d493aab7e08f119b51c2","revisions":{"b4d7491d865c49cd04d57939447be86632682140":{"kind":"REWORK","_number":1,"created":"2026-12-03 02:43:14.000000000","uploader":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"ref":"refs/changes/98/2398/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/98/2398/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/1 \u0026\u0026 git checkout -b change-2398 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/98/2398/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"62592152fe5d3183c1e4c1a41f1da668abc04557","subject":"multi_io: walk the link sockets once in multi_io_wait()"}],"author":{"name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","date":"2026-11-18 17:53:23.000000000","tz":60},"committer":{"name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","date":"2026-12-03 02:38:40.000000000","tz":60},"subject":"socket: pause the listeners when accept() runs out of resources","message":"socket: pause the listeners when accept() runs out of resources\n\nWhen accept() fails with EMFILE, Linux and FreeBSD leave the pending\nconnection in the listen queue and the level-triggered listener is\nreported again on every wait. The server keeps creating and destroying\nan instance for it, never gets an empty event set, so the timers do not\nrun and hand-window never reaps the idle connections that hold the\ndescriptors: the server stays at 100% CPU, writes the failure to the log\nin a loop and stops serving new TCP and UDP clients until the peer\ncloses its connections. A management client connecting while the\ndescriptors are exhausted causes the same loop on the management\nlistener.\n\nWhen accept() fails for lack of resources, stop polling the TCP\nlisteners and, in server mode, the management listener for up to a\nsecond. Clients may see failed connections meanwhile, so log a warning,\nat most once a minute.\n\nGitHub: OpenVPN/openvpn#1148\nGitHub: OpenVPN/openvpn#1167\nChange-Id: I978041ea4e6323f5a92d8721809f0fa44b9c2e03\nSigned-off-by: Gianmarco De Gregori \u003cgianmarco@mandelbit.com\u003e\nAcked-by: Razvan Cojocaru \u003crazvanc@mailbox.org\u003e\nGerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2210\nMessage-Id: \u003c20261118175328.32744-1-gert@greenie.muc.de\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg41645.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n(cherry picked from commit eea8240de4612635df7705bf62d42a49e82e91ef)\n"},"branch":"refs/heads/release/2.7"},"c958e2556d4c23eda944d493aab7e08f119b51c2":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2026-12-03 02:57:41.000000000","uploader":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"ref":"refs/changes/98/2398/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/98/2398/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/2 \u0026\u0026 git checkout -b change-2398 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/98/2398/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/98/2398/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"62592152fe5d3183c1e4c1a41f1da668abc04557","subject":"multi_io: walk the link sockets once in multi_io_wait()"}],"author":{"name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","date":"2026-11-18 17:53:23.000000000","tz":60},"committer":{"name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","date":"2026-12-03 02:55:57.000000000","tz":60},"subject":"socket: pause the listeners when accept() runs out of resources","message":"socket: pause the listeners when accept() runs out of resources\n\nWhen accept() fails with EMFILE, Linux and FreeBSD leave the pending\nconnection in the listen queue and the level-triggered listener is\nreported again on every wait. The server keeps creating and destroying\nan instance for it, never gets an empty event set, so the timers do not\nrun and hand-window never reaps the idle connections that hold the\ndescriptors: the server stays at 100% CPU, writes the failure to the log\nin a loop and stops serving new TCP and UDP clients until the peer\ncloses its connections. A management client connecting while the\ndescriptors are exhausted causes the same loop on the management\nlistener.\n\nWhen accept() fails for lack of resources, stop polling the TCP\nlisteners and, in server mode, the management listener for up to a\nsecond. Clients may see failed connections meanwhile, so log a warning,\nat most once a minute.\n\nGitHub: OpenVPN/openvpn#1148\nGitHub: OpenVPN/openvpn#1167\nChange-Id: I978041ea4e6323f5a92d8721809f0fa44b9c2e03\nSigned-off-by: Gianmarco De Gregori \u003cgianmarco@mandelbit.com\u003e\n"},"branch":"refs/heads/release/2.7"}},"requirements":[{"status":"NOT_READY","fallback_text":"All required checks must pass","type":"checks_pass"}],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"NOT_READY","labels":[{"label":"Code-Review","status":"NEED"},{"label":"Build-Request","status":"MAY"}]},{"rule_name":"checks~ChecksSubmitRule","status":"NOT_READY","requirements":[{"status":"NOT_READY","fallback_text":"All required checks must pass","type":"checks_pass"}]}]}
