commit f625cfbb26591905539ef47f017f39dfbb32fa43 Author: Florian Best Date: Mon Aug 3 11:43:31 2020 +0200 Bug #51729: raise the open file limits of the UMC-Web-Server diff --git management/univention-management-console/univention-management-console-web-server management/univention-management-console/univention-management-console-web-server index 6f4941e460..14330512aa 100755 --- management/univention-management-console/univention-management-console-web-server +++ management/univention-management-console/univention-management-console-web-server @@ -43,6 +43,7 @@ import zlib import base64 import signal import hashlib +import resource import tempfile import binascii import datetime @@ -1608,6 +1609,11 @@ class UMC_HTTP_Daemon(DaemonRunner): _thread_http.deamon = True _thread_http.start() + try: + resource.setrlimit(resource.RLIMIT_NOFILE, (64512, 64512)) + except (ValueError, resource.error) as exc: + CORE.error('Could not raise NOFILE resource limits: %s' % (exc,)) + try: # start notifier loop notifier.init(notifier.GENERIC)