Skip to content

Commit 0d84532

Browse files
committed
feat: add conntrack sysctl config for CVM guest (2M max)
1 parent 3967eff commit 0d84532

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

basefiles/sysctl.d/99-dstack.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-FileCopyrightText: 2025 Phala Network <dstack@phala.network>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Increase conntrack table for high-concurrency gateway/proxy workloads.
5+
# Default 262144 is insufficient when proxying >100K concurrent connections.
6+
net.netfilter.nf_conntrack_max = 2097152

0 commit comments

Comments
 (0)