CentOS 8.4 aarch64下编译ovirt-engine报错-最大链接数不足
chmod a+x packaging/services/ovirt-engine/ovirt-engine.sysv chmod a+x packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.py chmod a+x packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.sysv chmod a+x packaging/services/ovirt-engine/ovirt-engine.py chmod a+x packaging/services/ovirt-fence-kdump-listener/ovirt-fence-kdump-listener.py chmod a+x packaging/services/ovirt-fence-kdump-listener/ovirt-fence-kdump-listener.sysv chmod a+x packaging/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py chmod a+x packaging/services/ovirt-websocket-proxy/ovirt-websocket-proxy.sysv chmod a+x packaging/cinderlib/cinderlib-client.py chmod a+x packaging/setup/bin/ovirt-engine-health chmod a+x packaging/setup/bin/ovirt-engine-upgrade-check chmod a+x packaging/cinderlib/cinderlib-client.py if [ "1" != 0 ]; then \ if [ "1" != 0 ]; then \ require="10240"; \ current="$(ulimit -n)"; \ if [ "${current}" -lt "${require}" ]; then \ echo "Building locales requires more than ${require} available file descriptors, currently ${current}" >&2; \ echo "Refer to README.adoc for further instructions" >&2; \ false; \ fi; \ fi; \ fi Building locales requires more than 10240 available file descriptors, currently 1024 Refer to README.adoc for further instructions make: *** [Makefile:365: validations] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.S31U2y (%build) RPM build errors: /root/srpms/ovirt-engine-4.4.10.6-1.el8.src.rpm: Header V4 RSA/SHA256 Signature, key ID fe590cb7: NOKEY Bad exit status from /var/tmp/rpm-tmp.S31U2y (%build)
默认最大连接数为1024,需要10240
需要执行 ulimit -n 10240后,重新编译