From 7cbccf15bdabab9c9cfd4c7918b8fcaebd478be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= Date: Fri, 18 Jul 2025 02:51:35 -0400 Subject: 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) --- net/dataplaneapi/files/dataplaneapi.in | 1 + 1 file changed, 1 insertion(+) (limited to 'net/dataplaneapi/files') diff --git a/net/dataplaneapi/files/dataplaneapi.in b/net/dataplaneapi/files/dataplaneapi.in index fb5f74c483c5..4dd4c98df3f1 100644 --- a/net/dataplaneapi/files/dataplaneapi.in +++ b/net/dataplaneapi/files/dataplaneapi.in @@ -19,6 +19,7 @@ load_rc_config $name : ${dataplaneapi_enable:="NO"} +dataplaneapi_env="AUTOMEMLIMIT_EXPERIMENT=system" pidfile="/var/run/${name}.pid" procname="%%LOCALBASE%%/bin/${name}" command="/usr/sbin/daemon" -- cgit v1.2.3