aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2025-04-02 15:07:37 +0300
committerChristopher Baines <mail@cbaines.net>2025-04-06 12:46:02 +0100
commitb7e4889e144d27f3227bc1d4d6f7670c349c4a3e (patch)
treef36b784c01110c5d2a926f585e54862fc402384f
parent9512b5389679cf3ab062c1bfe5aca6d4c8e6a6cb (diff)
downloadqa-frontpage-b7e4889e144d27f3227bc1d4d6f7670c349c4a3e.tar
qa-frontpage-b7e4889e144d27f3227bc1d4d6f7670c349c4a3e.tar.gz
Increase the open files limit
-rw-r--r--scripts/guix-qa-frontpage.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/guix-qa-frontpage.in b/scripts/guix-qa-frontpage.in
index 114125f..45ed3a4 100644
--- a/scripts/guix-qa-frontpage.in
+++ b/scripts/guix-qa-frontpage.in
@@ -286,6 +286,13 @@
(setrlimit 'core #f #f))
#:unwind? #t)
+ (with-exception-handler
+ (lambda (exn)
+ (simple-format #t "failed increasing open file limit: ~A\n" exn))
+ (lambda ()
+ (setrlimit 'nofile 4096 4096))
+ #:unwind? #t)
+
(let ((core-file
(string-append (getcwd) "/core"))
(metric