[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: gnu: ungoogled-chromium: Lower resource limits.
From: |
guix-commits |
Subject: |
06/10: gnu: ungoogled-chromium: Lower resource limits. |
Date: |
Tue, 7 Jan 2020 12:20:05 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 07b10725da1a9f69bd2619cfe67c0a455ecd8e3f
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Jan 5 09:30:09 2020 +0100
gnu: ungoogled-chromium: Lower resource limits.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Decrease
maximum
number of open files from 4096 to 2048.
---
gnu/packages/chromium.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index d31e0bc..dc8e041 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -688,17 +688,17 @@ from forcing GEXP-PROMISE."
;; accesses. Having a too low ulimit will result in bogus linker
;; errors such as "foo.a: error adding symbols: malformed
archive".
- ;; Try increasing the soft resource limit of max open files to
4096,
+ ;; Try increasing the soft resource limit of max open files to
2048,
;; or equal to the hard limit, whichever is lower.
(call-with-values (lambda () (getrlimit 'nofile))
(lambda (soft hard)
- (when (and soft (< soft 4096))
+ (when (and soft (< soft 2048))
(if hard
- (setrlimit 'nofile (min hard 4096) hard)
- (setrlimit 'nofile 4096 #f))
+ (setrlimit 'nofile (min hard 2048) hard)
+ (setrlimit 'nofile 2048 #f))
(format #t
"increased maximum number of open files from ~d to
~d~%"
- soft (if hard (min hard 4096) 4096)))))
+ soft (if hard (min hard 2048) 2048)))))
#t))
(replace 'build
(lambda* (#:key (parallel-build? #t) #:allow-other-keys)
- branch master updated (9020252 -> d2e1b2d), guix-commits, 2020/01/07
- 03/10: gnu: rocksdb: Update to 6.5.2., guix-commits, 2020/01/07
- 05/10: gnu: ungoogled-chromium: Do not set LD_LIBRARY_PATH in wrapper., guix-commits, 2020/01/07
- 01/10: gnu: googletest: Update to 1.10.0., guix-commits, 2020/01/07
- 02/10: gnu: python-patsy: Update to 0.5.1., guix-commits, 2020/01/07
- 06/10: gnu: ungoogled-chromium: Lower resource limits.,
guix-commits <=
- 07/10: gnu: colord: Adjust inputs., guix-commits, 2020/01/07
- 08/10: gnu: libgeotiff: Propagate proj., guix-commits, 2020/01/07
- 09/10: gnu: libgeotiff: Do not build static library., guix-commits, 2020/01/07
- 04/10: gnu: Ceph: Update to 14.2.5., guix-commits, 2020/01/07
- 10/10: gnu: appstream-glib: Fix test failure., guix-commits, 2020/01/07