From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#37822: guile-fibers build failure Date: Tue, 22 Oct 2019 22:57:04 +0100 Message-ID: <875zkgqw9b.fsf@cbaines.net> References: <87o8ydqfte.fsf@cbaines.net> <87k18zr37i.fsf@cbaines.net> <87v9sh2bu7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55582) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN2AF-0004fn-QL for bug-guix@gnu.org; Tue, 22 Oct 2019 17:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iN2AE-0006PM-Nl for bug-guix@gnu.org; Tue, 22 Oct 2019 17:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51756) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iN2AE-0006PI-Kx for bug-guix@gnu.org; Tue, 22 Oct 2019 17:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iN2AE-0007NO-IW for bug-guix@gnu.org; Tue, 22 Oct 2019 17:58:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87v9sh2bu7.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 37822@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Christopher Baines skribis: > >> I've now tried running the tests using Guix immediately prior to the >> recent core-updates merge (d57660c54907cc6fba8b0adf6295fd2311ada6cf), >> and immediately after the merge >> (cf3d1763ede1a329c2bc932c84591ab594bb6c96) and the tests passed before, >> and failed afterwards. >> >> I've also tried running the tests manually, I did see a couple of times >> a failure that mentioned about "Too many open files" [1]. >> >> I then attempted to raise the limit for open files, I think using >> prlimit like `prlimit --nofile=3D8096:8096 --pid GUIX_DAEMON_PID` did the >> trick, and that meant that I built the package sucessfully. >> >> I'm thinking now that there's a relationship between the number of cores >> the tests are run with, and the required file descriptors. Also, I'm >> pretty sure this behaviour changed when core-updates was merged. > > Indeed, Fibers uses =E2=80=98epoll=E2=80=99 and for that it consumes file= descriptors > proportionally to the number of threads, IIRC. You=E2=80=99d still have = to have > a large number of threads to hit the default rlimit, but that=E2=80=99s n= ot > impossible. > >> I'll close this bug for now, as I've found a way to build the package. > > To avoid =E2=80=9Crandom=E2=80=9D build failures, perhaps we should inclu= de a hack in > the =E2=80=98check=E2=80=99 phase, like calling =E2=80=98setrlimit=E2=80= =99 right from there, WDYT? If that's possible, it sounds like a good idea. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2vezBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcKuw//cfJF6OWOux/rnQL8RlRFb9E4LZjSxKrqyaAsRRn3izH+7iAhqsCOIZ2W kvNy8tlDR2y+pYSekUIscWkdT9HBx6EwQ2/gu3F3TVw1onuobZusImyTLoHvnZvK OQkmnP3I5INzjDpuDH3w3XextK5xyqMhhsseKX/NUnU+shReKh2WGeS2Ntwihrmx 0HPqyJ4UOTJML8nly3AO/chy69dyOnzPRzk5XYcN5fC1lRvokwkSjIW9iR47/jbG v0Bdcftsl1Rmmfu+sWeboACGETDMlaB4uxCCsuJ1mv5TaWw+kq6ZutMgxY4DGnuL otFM2kx0NXJyRn5R49p58xp8sCKyhYAEosFj/MlmsRXNKmmotCGGIjwEHZWhpS7F nr7vy4ghfMVUgHOcwIjNPj768lsearx4fSURTQ2TMRPiFzA0qijkezdYkLr0wlK7 y0ngn8KXmkKXK+Ix/ZhfkPJWcBr99b7CwnU01pm9jGjR56vHAYUgBSLneG1nylOa rQmXo+tN19gAuEppLoR0/o5IQEsJitaJc45/a9EGJ8D0qSRSKCvW0DZX5bh+DGrD F/hntq//Id2yJ49Lr1+XCUL18lyRRPAm8Hsj9Sttf54sWxyeawcR+edOS6PY7QWp Gi4Cw94hX5wRQzViWWmcbj5msUw+4CuirD++MPn6HqyVMOzH/aE= =cVF8 -----END PGP SIGNATURE----- --=-=-=--