From nobody Thu May 11 18:11:21 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHKhn5R6cz49Z7f for ; Thu, 11 May 2023 18:11:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHKhn1sJnz3NmZ for ; Thu, 11 May 2023 18:11:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683828681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gvCPCrh0M1BBuORi4aIH2jnV8Z8HOT3LkxUc/d8hcLQ=; b=PMcNvloPtYEPCUNxvm5JTVG5cPXf7WLjkz6nOBRIYiaa5Pt4jJxdAttykdPEb//xIK6N1e Bzf7QL18zfg5KHaV8xu0LzztWgiUir7XYLABc5S833nhGZZKhdK4tWslsP4BGVt90WcmOw jiK9Cu9KwnjwQHijJfv6dxWXqbuQZc1JJ9tNlHO9NXkkF9057sRobMY1SMZWEcVIt/xVNz IKpLeE2tJL/98YesjI4fl+FJheDyS9SfhSpzeQWicrCyg4UebXgsUxcYNh+hRh/p9/ub8K R971e1+P/Ah6nc6D0Evgta0SCxrGMo2oLzcm9t9NLMFBWZ/6ewUtuoP8eHg7RQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683828681; a=rsa-sha256; cv=none; b=Tfm8rPU/tapmb/+t3EKeg4TK3E1HsoBQd6gE5MsMLEAIcbzHx7eGplIjQygL3iuEPSgqkC jnDcVj0S6CX9Bpca+LjAjzKGtIRAc1E8q37fq83GJGhIHAWaGLpIB5nLVWmZiHpBtqNGpW B3zBzMXZcW1UWkBXUflGgtt/4/uTReJOjdbaV4RL3GRSaCA5Gm80QYSnJEM8qHK0u7118P uKWCx6+YjdiNUrNk62nx6+ULiLRNRqXLHtztjse7mghzA3mEJkbjMSA1uzEPhjaT1gsU+g kJqpyoHSBFeHHRvthhz8KOv46kAgzq8vgg8VXmWu1DzO5Tj00HkOcXhkShnefg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QHKhn0zBmz12j4 for ; Thu, 11 May 2023 18:11:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34BIBLsQ061260 for ; Thu, 11 May 2023 18:11:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34BIBL2d061259 for ports-bugs@FreeBSD.org; Thu, 11 May 2023 18:11:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271367] sysutils/py-salt: workaround a hanging minion bug Date: Thu, 11 May 2023 18:11:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: krion@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271367 Bug ID: 271367 Summary: sysutils/py-salt: workaround a hanging minion bug Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: krion@FreeBSD.org Reporter: kevans@freebsd.org Assignee: krion@FreeBSD.org Flags: maintainer-feedback?(krion@FreeBSD.org) Created attachment 242124 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242124&action= =3Dedit git(1) diff against the ports tree >From the commit: ``` sysutils/py-salt: workaround a hanging minion issue From the patch description: -- Workaround for https://github.com/saltstack/salt/issues/64074 As of salt v3005, it's possible for a minion process to get irrecoverably wedged due to some restructuring in IPC. Namely, payloads that are to be reported back to the master are written over a UNIX socket by the very same thread that is expected to drain the socket's receive buffer. Smaller payloads are fine, but anything that exceeds FreeBSD's default receive buffer size (8KB) results in the process hanging in socket write for some buffer space that will never come. The most obvious way to identify a hung minion is a lingering zombie child, but it will more generally stop responding to salt-master. -- The workaround is to simply bump the receive buffer size so that the vast majority of payloads won't trigger it. This code likely requires some restructuring upstream to avoid writing to a pipe that the same thread is responsible for draining. Submitted by: Johan S=C3=B6llvander ``` The patch was written by Axcient, I've only added a general description atop the patch. Attached patch is in a format accepted by `git am`. --=20 You are receiving this mail because: You are the assignee for the bug.=