Skip to content

Commit a549384

Browse files
committed
DLPX-65491 Invalid argument when mounting ZFS filesystem
1 parent 9034b52 commit a549384

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

files/common/lib/sysctl.d/50-override.conf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,13 @@ net.ipv4.tcp_rmem = 4096 4194304 16777216
7171
# allows the script that generates the hprof dump to run.
7272
#
7373
vm.overcommit_memory = 1
74+
75+
#
76+
# By default all mounts are "shared" with other mount peer groups.
77+
# As a results any new mount will propagate the mount event to their peer
78+
# groups. This can result in inflating the number of mounts for that
79+
# mount namespace resulting in it hitting the mount max value prematurely.
80+
# To avoid this, we increase the mount-max value to 3 times the default
81+
# value.
82+
#
83+
fs.mount-max = 300000

0 commit comments

Comments
 (0)