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
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
failed |
#621888
external
|
ERP5.CodingStyleTest-Master |
00:43:18
|
||||||
failed |
#621850
external
|
ERP5.UnitTest-Master |
02:12:30
|
||||||
failed |
#621855
external
|
ERP5.UnitTest-Zope2 |
02:09:55
|
||||||
passed |
#621875
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:16:23
|
||||||
passed |
#621865
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:17:11
|
||||||
passed |
#621886
external
|
Wendelin.UnitTest-Master |
00:36:22
|
||||||
failed |
#621659
external
retried
|
ERP5.CodingStyleTest-Master |
01:22:17
|
||||||
failed |
#621746
external
retried
|
ERP5.CodingStyleTest-Master |
06:38:10
|
||||||
failed |
#621782
external
retried
|
ERP5.UnitTest-Master |
08:42:30
|
||||||
failed |
#621655
external
retried
|
ERP5.UnitTest-Master |
07:14:49
|
||||||
failed |
#621623
external
retried
|
ERP5.UnitTest-Master |
|
||||||
failed |
#621660
external
retried
|
ERP5.UnitTest-Zope2 |
03:17:31
|
||||||
failed |
#621751
external
retried
|
ERP5.UnitTest-Zope2 |
09:15:50
|
||||||
passed |
#621789
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
02:51:29
|
||||||
passed |
#621698
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:17:07
|
||||||
passed |
#621772
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
02:55:37
|
||||||
passed |
#621676
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:23:19
|
||||||
failed |
#621754
external
retried
|
Wendelin.UnitTest-Master |
06:22:24
|
||||||
passed |
#621663
external
retried
|
Wendelin.UnitTest-Master |
00:58:50
|
||||||