Univention Bugzilla – Attachment 10446 Details for
Bug 51729
UMC-Web-Server is limited to 1024 file descriptors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch (git:fbest/51729-webserver-open-file-limits)
51729.patch (text/plain), 1.07 KB, created by
Florian Best
on 2020-08-03 11:45:32 CEST
(
hide
)
Description:
patch (git:fbest/51729-webserver-open-file-limits)
Filename:
MIME Type:
Creator:
Florian Best
Created:
2020-08-03 11:45:32 CEST
Size:
1.07 KB
patch
obsolete
>commit f625cfbb26591905539ef47f017f39dfbb32fa43 >Author: Florian Best <best@univention.de> >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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51729
: 10446