@@ -, +, @@ Bug #51729: raise the open file limits of the UMC-Web-Server --- 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)