[MDEV-23088] Change LimitNOFILE default from 16364 to 16384 Created: 2020-07-03  Updated: 2020-08-18  Resolved: 2020-08-18

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Fix Version/s: 10.3.23, 10.1.46, 10.2.33, 10.4.14, 10.5.5

Type: Task Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None


 Description   

This is only a very minor issue, but the default for LimitNOFILE in the SystemD mariadb.service and mariadb@.service files we distribute is 16364, not the expected 16384 (2^16) power-of-two value.

I found it confusing why open_files_limit would be adjusted to 16364 when setting it to a higher value, trying to understand where and why it would lower the expected number by 20 for internal reasons, while it actually didn't change the value it got from SystemD at all ...



 Comments   
Comment by Daniel Black [ 2020-07-06 ]

There's no internal reason. It was just a mistake. 2^14 was intended.

If you think there's a case for a higher value happy to consider that too.

Comment by Daniel Black [ 2020-07-27 ]

Thanks for the bug report Harmut.

Generated at Thu Feb 08 09:19:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.