mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-29 15:31:12 +01:00
feat: increase aio-max-nr and inotify.max_user_instances
Increase values: - fs.aio-max-nr to 1048576 (for Ceph|Veritas|other storages) - fs.inotify.max_user_instances to 8192 (since the usual 512 is too small today's needs) There is no need to adjust fs.inotify.max_user_watches since it's set dynamically during startup by kernel. Closes #5175 Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
This commit is contained in:
parent
85b328e997
commit
c0709d9707
@ -139,7 +139,11 @@ func (ctrl *KernelParamDefaultsController) getKernelParams() []*kernel.Param {
|
|||||||
// configs inotify.
|
// configs inotify.
|
||||||
{
|
{
|
||||||
Key: "proc.sys.fs.inotify.max_user_instances",
|
Key: "proc.sys.fs.inotify.max_user_instances",
|
||||||
Value: "512",
|
Value: "8192",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Key: "proc.sys.fs.aio-max-nr",
|
||||||
|
Value: "1048576",
|
||||||
},
|
},
|
||||||
}...)
|
}...)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user