Comment 10 for bug 1760471

Revision history for this message
Jiří Stránský (jistr) wrote :

I'd be careful with lowering the file limit globally, i think e.g. MariaDB needs at least 16K for common operation.

What we probably could/should do is support --ulimit on a per-container basis in paunch. The patch would look similar to this [1]. A slight difference though: i think --ulimit is an option that can appear on the command line multiple times, so we should approach it more like the --volume option. An array in paunch config which is then iterated over [2].

[1] https://github.com/openstack/paunch/commit/4a4f43ac36c3edc2645c8fff5cf783415ea3f1cf
[2] https://github.com/openstack/paunch/blob/4a4f43ac36c3edc2645c8fff5cf783415ea3f1cf/paunch/builder/compose1.py#L177-L179