From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by sourceware.org (Postfix) with ESMTPS id 3F69B3858D1E for ; Mon, 19 Jun 2023 20:54:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F69B3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3113675d582so1579725f8f.3 for ; Mon, 19 Jun 2023 13:54:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687208088; x=1689800088; h=mime-version:user-agent:in-reply-to:date:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=r/O2wn3eDH0WELasmOr+Rj9Ov9ZrDGzU60pMAhGKz48=; b=mD02qqvUUVQuXHkQmoVUQf/q19D/hAnzEjehql+t36JLjYhQq3kQsOZ1N903P1jUvD OIdQAXMMl9QAmrGko13w0sFG0OAXQgN6geByZbE2RXzFVkZP639p7d5uPs5PyopgneC6 0kPygXG4pkfmYrNLVM/qrE9to9myMqfgTjx1DB55bJ1GPI+iN2rzdWalnM3uVhZkqahd qYEjv+vkDRxdq44+zmnN/nqQI0FOEq8tj4bhm+8koe8W6K0ByFwp+UTk5Tn7gUXTKkyH cJGDj2k3ULJ85lLNibd3Bu2VGQd0VN6CcmWfavkKRthoGNoTcYfZbclal+5Efp3h+sXo QXVQ== X-Gm-Message-State: AC+VfDy+1gHWzQHnHLchsvDD7oKOsXWVGuElLZCw4CiBasI1MlGSQK/F m57e2KCMCgHd8cTzojlg/hKd9QYYLQzPBw== X-Google-Smtp-Source: ACHHUZ6AMvLVDIv3+cJbBtRmuCHbNvqGqXPK8ObKVKpaK3T3MeFiw6tdLk0y/wEoomuaBXOdCy7ctg== X-Received: by 2002:adf:e5c4:0:b0:30f:cb5e:6b1b with SMTP id a4-20020adfe5c4000000b0030fcb5e6b1bmr7141220wrn.11.1687208087796; Mon, 19 Jun 2023 13:54:47 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id d2-20020adff842000000b00312793cc763sm449074wrq.15.2023.06.19.13.54.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 13:54:47 -0700 (PDT) Message-ID: Subject: Re: Re: Performance issue with systemd-coredump and container process linking 2000 shared libraries. From: Luca Boccassi To: elfutils-devel@sourceware.org Date: Mon, 19 Jun 2023 21:54:45 +0100 In-Reply-To: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-uzLhiGTSEH/4R4yKXDea" User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-uzLhiGTSEH/4R4yKXDea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > Which does bring up the question why systemd-coredump isn't running > in > > the same mount space as the crashing program. Then it would simply > find > > the files that the crashing program is using. >=20 > On this point that systemd-coredump might not run in the same mount > namespace, don=E2=80=99t blindly believe me. I think I saw this while > reviewing the > systemd code, but it was the first time I looked at it to investigate > this issue, > so may be wrong. This is correct, in case of containers sd-coredump will run on the host and collect from all the guests, so they are going to be in different namespaces. And even when they are not, the original binary might be long gone by the time it has a chance to run. --=20 Kind regards, Luca Boccassi --=-uzLhiGTSEH/4R4yKXDea Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCSqx93EIPGOymuRKGv37813JB4FAmSQwJUACgkQKGv37813 JB4DjRAAnyGf3SfTi6W688u95X0KZDxdK36+Vzj+wlQgmsakXPY/x65eEGXo+NOi 0r0LA2/uKo+rGm0V3X5g7tIOCH1SOHgJr4hi+ImGuHPqS+3T33Rs+gx0QvjZb+1B Sf5IxoV3S490/9W12wB2u1bWASid/Z9MnosfE4VUA8jb15u9b062elTK3hobeWCj LpyLJyW+rKiUsCd1uRtUPuAKFjtePocJsqBJSkfZU7kY1+5mwLiXp2vRwLN57/Qp SCN+B/fHgNCe05WWnDl2+pbcqQBo8jykw7Tt+IjbmR0D9yXO/aysS8hUuuUJscTb qeQPH7SS/BVRNRrl2m6zGdSNMi3A+yx2gHYnlLW3wQFuBozQHtWF3mE2X/1Xe8uZ oKOeMr5+RlRhAmIKOlFJwRecWwcIItdMS+Taro8RGAedEt4Qu1Eplb9s2AYqMmQU lid82qAJVjFvFTvcMobyluCQsmdLwJ4qyh+8H9LKS1lWMz6+InctYqVCmfDoAyCq m1Ds6E1TDoOdxQtlNjT0uHTIC7gzLWy10b705vYJRoJzwAGbyAIe+dUOYVt/Vs9O 3tnrYqG4NnuQRjMFY7/W7G35NSNSy+9ZGjoRr1e/GdQe0/4awGkMWh29BACV/P2+ WlWaXxibRolsM7TB2w28D80VHNa6Y67sK7TRbdPaw/mB6d7o0OQ= =IQ7v -----END PGP SIGNATURE----- --=-uzLhiGTSEH/4R4yKXDea--