Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 14:17:38 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Kurt Jaeger <pi@FreeBSD.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: poudriere builds (base: amd64, jail: arm64.aarch64) and resource limits
Message-ID:  <3A095111-BE41-424A-AC51-DC848040C6B7@yahoo.com>
In-Reply-To: <X%2B3NQl3zLOXO9wEZ@home.opsec.eu>
References:  <X%2B3NQl3zLOXO9wEZ@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help


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

> Hello,
>=20
> Roland posted a patch to build databases/cassandra4 on arm64.aarch64 =
in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252068
> and I built it on my 13-jail:
>=20
> arm      13.0-CURRENT 1300132 r368817 arm64.aarch64 svn+ssh 2020-12-20 =
10:38:52 /pou/jails/arm
>=20
> The build fails almost at the end with:
>=20
> cd =
/wrkdirs/usr/ports/databases/cassandra4/work/apache-cassandra-4.0-beta2-sr=
c/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/cas=
sandra/
> find: /bin/sh: Argument list too long
> *** Error code 1
>=20
> and Ronald compared it to a build on amd64. He found that my jail has
> a surprising small data seg size:
>=20
> data seg size           (kbytes, -d)  131072
>=20
> Any ideas on how to raise the data seg size in the poudriere jail ?
>=20

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

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

=46rom 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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A095111-BE41-424A-AC51-DC848040C6B7>