Increase the open file limit
This commit is contained in:
parent
2430bc4307
commit
d00b539483
1 changed files with 7 additions and 0 deletions
|
|
@ -101,6 +101,13 @@
|
||||||
|
|
||||||
(%guix-data-service-metrics-registry registry)
|
(%guix-data-service-metrics-registry registry)
|
||||||
|
|
||||||
|
(with-exception-handler
|
||||||
|
(lambda (exn)
|
||||||
|
(simple-format #t "failed increasing open file limit: ~A\n" exn))
|
||||||
|
(lambda ()
|
||||||
|
(setrlimit 'nofile 4096 4096))
|
||||||
|
#:unwind? #t)
|
||||||
|
|
||||||
(let ((finished? (make-condition))
|
(let ((finished? (make-condition))
|
||||||
(priority-scheduler #f)
|
(priority-scheduler #f)
|
||||||
(request-scheduler #f))
|
(request-scheduler #f))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue