Date: Thu, 31 Dec 2020 19:25:16 -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: <375474DC-8065-466C-82DB-37753572CE2C@yahoo.com> In-Reply-To: <3A095111-BE41-424A-AC51-DC848040C6B7@yahoo.com> References: <X%2B3NQl3zLOXO9wEZ@home.opsec.eu> <3A095111-BE41-424A-AC51-DC848040C6B7@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Dec-31, at 14:17, Mark Millard <marklmi at yahoo.com> wrote: > On 2020-Dec-31, at 05:08, Kurt Jaeger <pi at FreeBSD.org> wrote: >=20 >> 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 >=20 > What does rctl report? (Not that I've ever used RACCT/RCTL.) >=20 > # rctl > rctl: RACCT/RCTL present, but disabled; enable using = kern.racct.enable=3D1 tunable >=20 > =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. >=20 > I'm guessing you would look/control from outside the jail. Looks like for all but amd64, 128 MiByte is the default data seg size: # grep -r DFLDSIZ sys/*/include/vmparam.h=20 sys/amd64/include/vmparam.h:#ifndef DFLDSIZ sys/amd64/include/vmparam.h:#define DFLDSIZ = (32768UL*1024*1024) /* initial data size limit */ sys/arm/include/vmparam.h:#ifndef DFLDSIZ sys/arm/include/vmparam.h:#define DFLDSIZ = (128UL*1024*1024) /* initial data size limit */ sys/arm64/include/vmparam.h:#ifndef DFLDSIZ sys/arm64/include/vmparam.h:#define DFLDSIZ (128*1024*1024) = /* initial data size limit */ sys/i386/include/vmparam.h:#ifndef DFLDSIZ sys/i386/include/vmparam.h:#define DFLDSIZ = (128UL*1024*1024) /* initial data size limit */ sys/mips/include/vmparam.h:#ifndef DFLDSIZ sys/mips/include/vmparam.h:#define DFLDSIZ = (128UL*1024*1024) /* initial data size limit */ sys/powerpc/include/vmparam.h:#ifndef DFLDSIZ sys/powerpc/include/vmparam.h:#define DFLDSIZ (128*1024*1024) = /* default data size */ sys/riscv/include/vmparam.h:#ifndef DFLDSIZ sys/riscv/include/vmparam.h:#define DFLDSIZ (128*1024*1024) = /* initial data size limit */ =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?375474DC-8065-466C-82DB-37753572CE2C>