lablup / lablup/backend.ai

Respect system or service ulimits when setting the container ulimits

Open
#6,506 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Summary

When the hard-coded NOFILE limit is larger than the system-wide or service-level configuration, Docker runtime API may return an error saying:

```
error setting rlimits for ready process: error setting rlimit type 7: operation not permitted
```

Let’s make it respect the inherited limit.

JIRA Issue: BA-2115

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.