HomeFreeBSD

net/dataplaneapi: Fix error in GOMEMLIMIT when cgroups is not available

Description

net/dataplaneapi: Fix error in GOMEMLIMIT when cgroups is not available

After starting the rc(8) script for Data Plane API, the error
"failed to set GOMEMLIMIT: cgroups is not supported on this system"
is displayed, however even though an error level is displayed it
starts successfully. However, a workaround to suppress this error,
since we do not have cgroups, is to set the 'AUTOMEMLIMIT_EXPERIMENT'
environment variable to 'system' in the rc(8) script.

PR: 288282
Reported by: dch
Approved by: acm (mentor)

Details

Provenance
dtxdfAuthored on Jul 18 2025, 6:51 AM
Parents
R11:43163344cc9d: net/toxiproxy-{cli,server}: New port: TCP proxy to simulate network and system…
Branches
Unknown
Tags
Unknown