From nobody Wed Oct 9 17:53:29 2024 X-Original-To: freebsd-hackers@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 4XP0qr4k4Kz5YpVQ for ; Wed, 09 Oct 2024 17:53:44 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XP0qr2rVTz472h; Wed, 9 Oct 2024 17:53:44 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-537a399e06dso11213e87.1; Wed, 09 Oct 2024 10:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728496422; x=1729101222; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=49Vz6f2NDHH25TUDdNQ34r0EUnyq053D/oIAHuu5tB4=; b=U27ORGRM2AaFC8GpYwEJyj/iecqKXQRZfb92U3EpdurV+QoGBX00OGAZ0+gKlURaxB 5JeFRNLU8k8NLEPpeZUsRLrMxyHGzPUWgObniTH9VxKlOSukOmfuKCnGr9n+gnjtaEUd WhizKCVi0wfEEvYYqb/eW99MyoC15vaynO4k7YxVfKdF/Frkmsh6v2nxsymrA39zYKCa y9EZvlgrzH6gQz2nSq+WLGlxLniO13xoveHQrJcu9tLMHd2Qp4glKnv214n/HZB4geRE 1ycwCsx3gSm3pwDeiTid2cY2QFcf+aA/Rb9mOnZ8sUluyvrhBIzDphRm/3l4SNBi0oTk R89g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728496422; x=1729101222; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=49Vz6f2NDHH25TUDdNQ34r0EUnyq053D/oIAHuu5tB4=; b=BqraCuLTeAIw99Xws/9JaiZqrgJojCHedsiLm/agoX3GIfBswOEpApCeTvhRt9vwJ0 HN3MZLokZWD8vsV5h+i968glqgG7Fkce2iFqmcgYfzLxPcVLQBKz1Ag6HBdtE4X1TKwO iADSaSKnUA9DlUUXY7G30pAWCjr/avXggf6Cykcl5FZQ8yaQ+TL4jb4RI0j8AfeZ9f4G kcF9zEoJWlcQVFEp45L4BJIyT66S10GRpwYbA2z4n0qN+nm/Lc+SQ9udYaqn7F1SRVd+ fZ/Q1wqzVig88m/ydN4Wkhvq9BHwl2KzWBBx7twInyCRe5N7InVodCo5ECfoxFF35xpR L54A== X-Gm-Message-State: AOJu0Yzcb3Mw91nOIv1TP1ooY5j3VhU4xQ3VJcex+KmFjWZ4rXggOSJP gVptR8k7zjnbPfcI2U+emrvoywz4/8b14mirPQNJ3RNbY4VVQ2hbkicSAewVdYGIAujOKEpDX97 4wAOrWxaHg72SMGGudVzWXqIIB2SpGg== X-Google-Smtp-Source: AGHT+IEvMC8NPLgYZTV8wfx9rgfICYrzptgs9cemT1SNvjAeTwGyc7reULfogV/81hHmcyfeh2mGof6MeiJbJzsVy1U= X-Received: by 2002:a05:6512:b8d:b0:52e:7656:a0f4 with SMTP id 2adb3069b0e04-539c4946004mr1997925e87.41.1728496421625; Wed, 09 Oct 2024 10:53:41 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: <2a759f5e-a9fb-4ad3-ac88-d75e81f5140c@FreeBSD.org> In-Reply-To: <2a759f5e-a9fb-4ad3-ac88-d75e81f5140c@FreeBSD.org> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Wed, 9 Oct 2024 19:53:29 +0200 Message-ID: Subject: Re: Why is the process gets killed because "a thread waited too long to allocate a page"? To: Yuri Cc: Freebsd hackers list Content-Type: multipart/alternative; boundary="00000000000034e6e206240eef75" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4XP0qr2rVTz472h X-Spamd-Bar: ---- --00000000000034e6e206240eef75 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El mi=C3=A9, 9 oct 2024, 18:36, Yuri escribi=C3=B3: > Hi, > > > When I tried to build lang/rust in the 14i386 poudriere VM the compiler > got killed with this message in the kernel log: > > > > Oct 9 05:21:11 yv kernel: pid 35188 (rustc), jid 1129, uid 65534, > was killed: a thread waited too long to allocate a page > > > > The same system has no problem building lang/rust in the 14amd64 VM. > > > What does it mean "waited too long"? Why is the process killed when > something is slow? > Shouldn't it just wait instead? > Did you run out of memory? It tends to happen with rust especially depending on how many things you put in TMPFS in poudri=C3=A8re. > > > Thank you, > > Yuri > > > > --00000000000034e6e206240eef75 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


El mi=C3=A9, 9 oct 2024, 18:36, Yuri <yuri@freebsd.org> escribi=C3=B3:
Hi,


When I tried to build lang/rust in the 14i386 poudriere VM the compiler got killed with this message in the kernel log:


=C2=A0> Oct =C2=A09 05:21:11 yv kernel: pid 35188 (rustc), jid 1129, uid= 65534,
was killed: a thread waited too long to allocate a page



The same system has no problem building lang/rust in the 14amd64 VM.


What does it mean "waited too long"? Why is the process killed wh= en
something is slow?
Shouldn't it just wait instead?

Did you run out of memory? It tends to h= appen with rust especially depending on how many things you put in TMPFS in= poudri=C3=A8re.




Thank you,

Yuri



--00000000000034e6e206240eef75--