poudriere builds (base: amd64, jail: arm64.aarch64) and resource limits

Mark Millard marklmi at yahoo.com
Thu Dec 31 22:17:46 UTC 2020



On 2020-Dec-31, at 05:08, Kurt Jaeger <pi at FreeBSD.org> wrote:

> Hello,
> 
> Roland posted a patch to build databases/cassandra4 on arm64.aarch64 in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252068
> and I built it on my 13-jail:
> 
> arm      13.0-CURRENT 1300132 r368817 arm64.aarch64 svn+ssh 2020-12-20 10:38:52 /pou/jails/arm
> 
> The build fails almost at the end with:
> 
> cd /wrkdirs/usr/ports/databases/cassandra4/work/apache-cassandra-4.0-beta2-src/build/dist && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE javadoc /wrkdirs/usr/ports/databases/cassandra4/work/stage/usr/local/share/doc/cassandra/
> find: /bin/sh: Argument list too long
> *** Error code 1
> 
> and Ronald compared it to a build on amd64. He found that my jail has
> a surprising small data seg size:
> 
> data seg size           (kbytes, -d)  131072
> 
> Any ideas on how to raise the data seg size in the poudriere jail ?
> 

What does rctl report? (Not that I've ever used RACCT/RCTL.)

# rctl
rctl: RACCT/RCTL present, but disabled; enable using kern.racct.enable=1 tunable

From what I read in man rctl, "jail" is one of the "subject" categories and
"datasize" is one of the "resources". So it looks like rctl is one of the ways
a specific limit could be imposed.

I'm guessing you would look/control from outside the jail.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-arm mailing list