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].
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/ 4a4f43ac36c3edc 2645c8fff5cf783 415ea3f1cf /github. com/openstack/ paunch/ blob/4a4f43ac36 c3edc2645c8fff5 cf783415ea3f1cf /paunch/ builder/ compose1. py#L177- L179
[2] https:/