From 71c301c777a6329ab0d51df9f6c6e077a733ac7a Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 22 Aug 2023 09:49:43 +0100 Subject: Increase the open file limit To hopefully make investigating why excessive ports/open files are being used. --- guix-build-coordinator/coordinator.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index 3c96d5b..471c398 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -404,6 +404,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) + ;; TODO Work around this causing problems with backtraces ;; https://github.com/wingo/fibers/issues/76 (set-record-type-printer! -- cgit v1.2.3