Skip to content

Commit fcf80c3

Browse files
committed
chore: allow for a larger number of connections
1 parent 6f3a457 commit fcf80c3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ansible/tasks/setup-system.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,13 @@
173173
state: present
174174
reload: yes
175175
when: debpkg_mode or nixpkg_mode
176+
177+
- name: configure system
178+
ansible.posix.sysctl:
179+
name: 'net.core.somaxconn'
180+
value: 16834
181+
182+
- name: configure system
183+
ansible.posix.sysctl:
184+
name: 'net.ipv4.ip_local_port_range'
185+
value: '1025 65000'

0 commit comments

Comments
 (0)