Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.package
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.package
  • Merge requests
  • !130

vifib-server: Increase memlock from default 64K to 64M

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Kirill Smelkov requested to merge kirr/slapos.package:y/memlock into master Oct 09, 2020
  • Overview 14
  • Commits 1
  • Pipelines 0
  • Changes 3

Wendelin.core 2 tests need to be able to mlock 64M to run. Increase corresponding limit for all subprocessed spawned by cron, which covers slapos -> supervisord -> ...

See added comments in slapos_limit.conf for why this has to be done in /etc/security/limits.d/slapos.conf instead of /etc/systemd/system/cron.service.d/override.conf

I testd this to work on a KVM of mine with manually putting /etc/security/limits.d/slapos.conf in place. Before the patch:

https://erp5.nexedi.net/test_result_module/20201009-341BCC3C/17
(lots of "OSError: [Errno 1] Operation not permitted" for mlock requests)

After the patch:

https://erp5.nexedi.net/test_result_module/20201009-6B97A93B/17
(test.wcfs/fs passes correctly)

/cc @rafael, @tomo, @luke, @Nicolas

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: y/memlock
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7