diff options
-rw-r--r-- | guix-build-coordinator/coordinator.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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! |