From b4b20fb441d87bb97eff3b4eb9c117e91e26ffcd Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 10 Jul 2023 11:39:18 +1000 Subject: [PATCH] Vagrant: increase number of allowed open files 1024 is the default, which is not enough for the QGC link step --- Vagrantfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index b80c80d..a57ab79 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -122,6 +122,10 @@ MAKE " su - vagrant -c "chmod +x do-qmake.sh do-make.sh" + # increase the allowed number of open files (the link step takes a + # lot of open filehandles!): +echo '* soft nofile 2048' >/etc/security/limits.d/fileno.conf + # now run the scripts: su - vagrant -c ./do-qmake.sh su - vagrant -c ./do-make.sh