[MDEV-25513] raise systemd LimitNOFILE limits to match server defaults (~32768) Created: 2021-04-25 Updated: 2021-04-27 Resolved: 2021-04-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.3.27, 10.5.9 |
| Fix Version/s: | 10.2.38, 10.3.29, 10.4.19, 10.5.10, 10.6.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Lewart | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 10 (buster) and Debian 11 (bullseye) |
||
| Description |
|
Starting MariaDB with default configuration causes the following problems:
Default Server System Variables:
LimitNOFILE=16834 is in the following files:
Looking at sql/mysqld.cc lines 3837-3917: Plugging in the default values: However, systemd configuration has LimitNOFILE = 16384, which is far smaller. I suggest increasing LimitNOFILE to 32768. Thank you! |
| Comments |
| Comment by Daniel Black [ 2021-04-26 ] | ||||||||||||||||||||||||
|
Good request Daniel. Same applies for 10.2
| ||||||||||||||||||||||||
| Comment by Daniel Black [ 2021-04-26 ] | ||||||||||||||||||||||||
|
Done. Thanks for the bug report. |