Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 146
    • Merge requests 146
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Repository

Switch branch/tag
  • erp5
  • product
  • ERP5
  • bin
  • zopewsgi.py
Find file BlameHistoryPermalink
  • Levin Zimmermann's avatar
    ERP5/zopewsgi: Add option to set soft limit of open file descriptors to hard limit · 39369169
    Levin Zimmermann authored Sep 27, 2023
    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 nexedi/erp5!1827
    39369169

Replace zopewsgi.py

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7