NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/58669: kern.argmax needs bumping
>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:
Home |
Main Index |
Thread Index |
Old Index