ERP5/zopewsgi: Add option to set soft limit of open file descriptors to hard limit
The default soft limit of open file descriptors is usually set to 1024 in order to avoid breaking old software which still uses select. In many projects we may need a higher limit: particularly in Wendelin based projects we easily reach this limit. Before this patch it was therefore necessary to either patch ERP5 in the project specific SR or to manually increase the limit of the zope processes (or the parent supervisor) with a tool like prlimit [1]. With this patch it becomes possible to increase the soft limit to the hard limit with a command line argument of the zopewsgi bin. This simplifies setting the soft limit for any Wendelin project. [1] https://man7.org/linux/man-pages/man1/prlimit.1.html /reviewed-by @vpelletier, @jerome /reviewed-on !1827
Showing
-
mentioned in commit levin.zimmermann/erp5@b2e8e825
-
mentioned in commit levin.zimmermann/slapos@1f298f49
-
mentioned in commit levin.zimmermann/erp5@0ec83339
-
mentioned in commit levin.zimmermann/slapos@952ab555
-
mentioned in commit levin.zimmermann/slapos@06bc8be2
-
mentioned in commit levin.zimmermann/erp5@a33599ce
-
mentioned in commit slapos@1b32a2c1
-
mentioned in merge request slapos!1465 (merged)
-
mentioned in commit levin.zimmermann/erp5@dd414b4f
-
mentioned in commit c42c1d38
-
mentioned in commit levin.zimmermann/erp5@08be8e99
-
mentioned in commit levin.zimmermann/erp5@a6f6c48f
-
mentioned in commit levin.zimmermann/erp5@6d29c46a
-
mentioned in commit slapos@931d6a27
-
mentioned in commit slapos@f55f0c0c
Please register or sign in to comment