From nobody Sun Jul 09 22:41:27 2023 X-Original-To: freebsd-current@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 4QzhvV33zWz4mw76 for ; Sun, 9 Jul 2023 22:41:42 +0000 (UTC) (envelope-from jfc@mit.edu) Received: from outgoing-exchange-7.mit.edu (outgoing-exchange-7.mit.edu [18.9.28.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.outgoing-exchange.mit.edu", Issuer "InCommon RSA Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzhvT3T5Fz3RCq for ; Sun, 9 Jul 2023 22:41:41 +0000 (UTC) (envelope-from jfc@mit.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mit.edu header.s=outgoing header.b=j8UrX46J; spf=pass (mx1.freebsd.org: domain of jfc@mit.edu designates 18.9.28.58 as permitted sender) smtp.mailfrom=jfc@mit.edu; dmarc=pass (policy=none) header.from=mit.edu; arc=pass ("microsoft.com:s=arcselector9901:i=1") Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-7.mit.edu (8.14.7/8.12.4) with ESMTP id 369MfcUP030994 for ; Sun, 9 Jul 2023 18:41:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1688942498; bh=LfNAU4eRo/n+0LiBZ5tyjaIA0vfi5Twx9BIKlxsPT14=; h=From:To:Subject:Date; b=j8UrX46JlfUrptGzpBdpn3FtiH5LUaaNa0g4MDngoKFUXiULGeVPDn4rOlT6zEUi+ H22uCMn2A6tC8vOKG4mjww41enSH1k8bhtSX822W3WBL3G9eHfJzXN/gxm+R4KtFFu +vlHjSFmJJwvK16FyHGnaQnh/4XfQtDUPKg2siiSC/HBzti3sz1Hcx/fKXnbAMkImI q71jT+OvaFCWBJnCW3rfqaUyiQrflsKHkJPoilWkq4AUS6/MF0Rz7PO1XDk1iJ/Osm 91QMcTrIa57IgGuhgYOpdjTOHtA1zKR3EvYf/YqbmE1IZnfGYzOyqUG0tGtfTPN/X3 5UGI6C/djzmqw== Received: from w92expo11.exchange.mit.edu (18.7.74.65) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 9 Jul 2023 18:41:13 -0400 Received: from oc11exhyb5.exchange.mit.edu (18.9.1.110) by w92expo11.exchange.mit.edu (18.7.74.65) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Sun, 9 Jul 2023 18:41:37 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by oc11exhyb5.exchange.mit.edu (18.9.1.110) with Microsoft SMTP Server (TLS) id 15.0.1497.48 via Frontend Transport; Sun, 9 Jul 2023 18:41:37 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S23iANeBAc8HwLhotPQPmz3bQxi0PNe7JfbFU8ReESsTXEgOqh7S1geo5UuQ/jWDQUzMax3NRRU41quuIIUVBW0550N2+RvGBo93/ppkKclX2h7KvAjUBqOl2kYhSl5J2cMpLBlCwijexl3sR/AYHxcFn29hXxC5fiHXSOVCHOwWRytKyoHQkHTBg7xVHKytx7Yb4QkY5Ksjnb0sJK0FoX1bmHrvVOejsFyDxiJTSIQDaUwLtxgjH8gNEnhcQ+EJvvkqm3ZY1307gXMscvaeYTe2iYQlYnCjyhD7otPObUuZbL5zUStldkkBllxxUrtYe0te20/i8qL2OjmFTU99BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LfNAU4eRo/n+0LiBZ5tyjaIA0vfi5Twx9BIKlxsPT14=; b=cXyw6np6QCE+/qmf0tEiXomDgEZK/rGj89SB6FvZM8P+RlZyJTIj+Oah5jIQxFB02baX9mTVzN0D8d6pjWCCaetet8Mb1cbt2MGmciUBwN7By0M09M6ko4PSc4by3wXx7+iczPN3rZAg1nw8u08LjPGAI03NeDJSlYa3wTtbZEb1VhNq33x/viXjkPDetxD3ADf+PtjOD5sEf22eYP8HTpxjuXwu6HOK5yrjOaqrVIcg8p7ovBsDOh2qrWqtp+He7V4Tdjgls7HwAknPXUE4+LU1h1sdOIUpiuwk8LEJ2Y1JXevyWZPCw2ySk9Om+0TUszjZKSqqEhcyY7WFDbOcpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mit.edu; dmarc=pass action=none header.from=mit.edu; dkim=pass header.d=mit.edu; arc=none Received: from SA3PR01MB8450.prod.exchangelabs.com (2603:10b6:806:382::17) by DS7PR01MB7614.prod.exchangelabs.com (2603:10b6:8:75::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Sun, 9 Jul 2023 22:41:29 +0000 Received: from SA3PR01MB8450.prod.exchangelabs.com ([fe80::19cc:d2bf:6e20:ea9e]) by SA3PR01MB8450.prod.exchangelabs.com ([fe80::19cc:d2bf:6e20:ea9e%5]) with mapi id 15.20.6565.028; Sun, 9 Jul 2023 22:41:28 +0000 From: John F Carr To: Current FreeBSD Subject: shell hung in fork system call Thread-Topic: shell hung in fork system call Thread-Index: AQHZsrZ/ctLyR44Zy0qGEPRBayBrvQ== Date: Sun, 9 Jul 2023 22:41:27 +0000 Message-ID: <909E2C96-3BFA-41AD-8EE7-0902231C2B95@mit.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA3PR01MB8450:EE_|DS7PR01MB7614:EE_ x-ms-office365-filtering-correlation-id: 957c3cd9-d497-4971-ea9c-08db80cda21a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rD8GobPeGRqGVCrWpTimd63ibJxSn/llTsus1aXxskuSlu9NuNVA10kGS3pAkWlAHJp9Pf8E1lJzvqu/bxwzetwSXBGfF6OViUdnH2Z5vWsVKxA/+E7HXZwUna2hr6rVQk5l2AlES+gMqhmDQwfM7anh/QPCCYTwR2jKrHMPZnKdMNxroBr0K8bnk/3/oL8vzQKD0ChKcOuvJKF+Fe7ADsA/0+bAvA6KVqcjbPIP44qoqbG0gWFkk+XBtBeL+RqG1+1zDsZ7sogiftIM7o3Jeleawy8bUPzbbkbRs/Sfd6FyPneUHhgY+4GNY9chmxY/6OO2Dx6X2al9hQHyM6TEm3huhKEB3lQNtCi84e6VIjYRVXWdRgvY1Q0foTpE943u2s0l5P+QBzx2BtHCm4odm4Y383CpcvWyacpSXkt8GHbvCtAnjnh7ZY9xKQwyiUGuR8m3GRSuBgoBbKRtIe4/kptLlY+C601sY0Xe7F06a/v4vG4ydLl1mJ4shNQ4NOnj+WzbyhmNuZiQy205nUxWkF/SXTsT2Uvu50ebIZxZA06cMqmz+Rhn4MlopPqAb4ym/J0Pn7Qn1sVnVnlde8bQ+lHTEXk84ID2n6Qk47pZjgE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA3PR01MB8450.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(39860400002)(396003)(376002)(366004)(451199021)(86362001)(38100700002)(38070700005)(75432002)(33656002)(36756003)(71200400001)(6486002)(76116006)(91956017)(122000001)(26005)(6506007)(186003)(6512007)(2616005)(5660300002)(316002)(786003)(2906002)(66556008)(66946007)(478600001)(8676002)(8936002)(66476007)(83380400001)(6916009)(64756008)(66446008)(41300700001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dIz/DJP4/Pon75fPoWI5PmIKzGI6BY7HqxnQtpQgqecE+KfNxxO+ohyiXinU?= =?us-ascii?Q?hVEqSc7MqS9d7v2mMTHjKGcvmDykO0IQVAJrc/BENeb4fEpOErwdoy3Ir7xb?= =?us-ascii?Q?Cer2oJfD9Kp8xukS4THqnDUn58kL3OeGNbAYxCTTfQqXFCOkze3d+/v2NimQ?= =?us-ascii?Q?26SsoDVxtAy0n7vaXCV9DOTSuwfV2T/GWI8oGyhCoz4g6F5Al7pYixDl8Klo?= =?us-ascii?Q?+Qx+jcKfq6vnzFrXwmLAOjkI/ywhZMoZVzn5hVD+mzz3AqwAFswf0mXi11IL?= =?us-ascii?Q?RU42G3ffSur6nKNaHe1FSqd6YtLo1g4X2Ph5KK1Ktxu5fjiNgbL5lPwo+Inh?= =?us-ascii?Q?YE/bqz6GztFqF0kybvg6dW/ponNCvG6LctogB1/D6pL8qdsvB7M/YY+5aUFj?= =?us-ascii?Q?Ob1fJo8+ZL02dodHq9UCltJFtT8wmoAg93gSB3Pm82QEngjuRVSKCQ0US3Dk?= =?us-ascii?Q?WWUHNenE32z1R0xZI1JhfEmsZ1//Tb2uul6gMXU2IVNbv2P5ZKGu6kl9pvR9?= =?us-ascii?Q?/qmScWsViLy7B84k7S7qtJMBWTJ/8YGDDovDwyTUzCQpqhHzCVUcIGkIAZdI?= =?us-ascii?Q?Te+gWmMXc1uvTiJ9mAO2/XkNr/H2eMZekvuvJ89xO+WWRPqOuOQ2GN6WtpgB?= =?us-ascii?Q?00ey7aN61+9rIlTqCCVYqcTNDtZixZhHgz/QMaYQS+ktF/Y91Cq9vYlUVtE1?= =?us-ascii?Q?Lmwv3LpCpx7KmlGmbfO1emYkfKimxSueZFHGDurVn7HQEVwh/MWti3/a4pBp?= =?us-ascii?Q?bQFfl77PhzaKoJzHrpCI+uQaxHLpK+vBFSmVq0r8Hn1UrBTHb4hJgociS0LK?= =?us-ascii?Q?FuPh8hDvIU6Xxp3gfzIZgTjMGFoSfdqPzeYM75M5UMkW8xCUCOvXNZHrtYPD?= =?us-ascii?Q?eW+hXMRy9Fl3kvfXS1lNAxi0HuDRQPqeZFEKQEFTFdNNXJMYfaTzX0EUSOVb?= =?us-ascii?Q?1yeJse/E24Cec3DhPPhXdgcsgUHmqT16yZ6fKqXcb3CcS6bgNf37Lso2QZLB?= =?us-ascii?Q?RtELNEs5MhwIu+DAvpqSyjRN3N6GpTpTBewbN7V1ZHXpUaUY5aunOxTyBZc4?= =?us-ascii?Q?8PdDDZdUEhu8fuCTLgM+N1GFaAkJwgDNbHOiFtD+3kBThdXYBtmldTjsd128?= =?us-ascii?Q?4fWwyy51Nh736p5Gp497jrXB6WZizFBQeiUxMQQJuoQ72B9SZRzP1pQFjJJI?= =?us-ascii?Q?/UwmHjGv+NWQ8JtbvjAFi/nm78hMo/tMVQMpWUKWlRRGzAdMo4aFGVwOSY/W?= =?us-ascii?Q?OJO1kLUXmyNdKGhluW5xJfo5WXqw5ekM0tdkGEjPT3zRgUR5uHURTjt7pBvW?= =?us-ascii?Q?UHhk+AN3aaC6CZLtSmOlDDcAGh2AhLi2zOTQTAn9P1sBpl5N6JKGWHK3BPA6?= =?us-ascii?Q?3eDjJkcHJJKQ4gzvWIn0xBvwGa9Ei2bDrUZ0T4juznCPVDYYVqb6fJyJlIdj?= =?us-ascii?Q?JJ04zWMMb/wHgEYa18y2YIWfCbYHZ4sY8eK8vtER8gRiS7cyHaas7WGrnBRi?= =?us-ascii?Q?noA+3xKv3GyZji0HhgPc7nsPDoVaFrPfqkkdoSfO9WUHNW3FaPG5X0lHPrIk?= =?us-ascii?Q?jEPi9AYWvBxApAxLZYE=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA3PR01MB8450.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 957c3cd9-d497-4971-ea9c-08db80cda21a X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2023 22:41:27.8986 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: I2RsqgHQKXEP+/nyi4ln319QKF3vhzxaPomumE4lBBlgMal4NCBpRd1AvjPLo1vo X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR01MB7614 X-OriginatorOrg: mit.edu X-Spamd-Result: default: False [-6.69 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; DWL_DNSWL_LOW(-1.00)[mit.edu:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.991]; DMARC_POLICY_ALLOW(-0.50)[mit.edu,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[mit.edu:s=outgoing]; RCVD_IN_DNSWL_MED(-0.20)[18.9.28.58:from]; R_SPF_ALLOW(-0.20)[+ip4:18.9.28.0/24]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_SEVEN(0.00)[7]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3, ipnet:18.9.0.0/16, country:US]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[mit.edu:+]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[104.47.55.101:received,18.7.73.15:received]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4QzhvT3T5Fz3RCq X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N Kernel and system at a146207d66f320ed239c1059de9df854b66b55b7 plus some irr= elevant local changes, four 64 bit ARM processors, make.conf sets CPUTYPE?= =3Dcortex-a57. I typed ^C while /bin/sh was starting a pipeline and my shell got hung in t= he middle of fork(). From the terminal: # git log --oneline --|more ^C^C^C load: 3.26 cmd: sh 95505 [fork] 5308.67r 0.00u 0.03s 0% 2860k mi_switch+0x198 sleepq_switch+0xfc sleepq_timedwait+0x40 _sleep+0x264 fork1= +0x67c sys_fork+0x34 do_el0_sync+0x4c8 handle_el0_sync+0x44=20 load: 3.16 cmd: sh 95505 [fork] 5311.75r 0.00u 0.03s 0% 2860k mi_switch+0x198 sleepq_switch+0xfc sleepq_timedwait+0x40 _sleep+0x264 fork1= +0x67c sys_fork+0x34 do_el0_sync+0x4c8 handle_el0_sync+0x44=20 According to ps -d on another terminal the shell has no children: PID TT STAT TIME COMMAND [...] 873 u0 IWs 0:00.00 `-- login [pam] (login) 874 u0 I 0:00.17 `-- -sh (sh) 95504 u0 I 0:00.01 `-- su - 95505 u0 D+ 0:00.05 `-- -su (sh) [...] Nothing on the (115200 bps serial) console. No change in system performanc= e. The system is busy copying a large amount of data from the network to a ZFS= pool on spinning disks. The git|more pipeline could have taken some time = to get going while I/O requests worked their way through the queue. It wou= ld not have touched the busy pool, only the zroot pool on an SSD. Has anything changed recently that might cause this?