NetBSD Problem Report #58669
From wiz@exadelic.gatalith.at Mon Sep 9 08:39:09 2024
Return-Path: <wiz@exadelic.gatalith.at>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 4DBE21A923B
for <gnats-bugs@gnats.NetBSD.org>; Mon, 9 Sep 2024 08:39:09 +0000 (UTC)
Message-Id: <20240909083902.C98F82EBBAD1@exadelic.gatalith.at>
Date: Mon, 9 Sep 2024 10:39:02 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: kern.argmax needs bumping
X-Send-Pr-Version: 3.95
>Number: 58669
>Category: kern
>Synopsis: kern.argmax needs bumping
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Sep 09 08:40:00 +0000 2024
>Originator: Thomas Klausner
>Release: NetBSD 10.99.12
>Organization:
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
The kern.argmax (sysctl) kernel limit for a command line defaults to 256kB.
This is not enough any longer: www/grafana has too many distfiles, some rust
programs have longer command lines when linking.
Other operating systems ave higher defaults as well:
Linux, macOS: 1MB
FreeBSD, OpenBSD: 512kB
We should bump the default limit.
>How-To-Repeat:
Try building wip/grafana, or some rust programs (depending on the path set up).
>Fix:
In the discussion on current-users, martin@ wrote:
--- begin quote ---
Yes, but we need to rearrange things in the exec path to make that work
well on tiny memory machines, so it is not just bumping up the constant.
--- end quote ---
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.