Skip to content

Commit

Permalink
Allow Tron to use more than 10k file descriptors (#923)
Browse files Browse the repository at this point in the history
There appears to be an fd leak somewhere in tron, we're not in danger of hitting any host-level limits - so let's update the unit file to have a bigger limit in the meantime
  • Loading branch information
EvanKrall authored Oct 11, 2023
1 parent 57168ed commit 0cd5c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/tron.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ExecStart=/usr/bin/trond --lock-file=${LOCKFILE:-$PIDFILE} --working-dir=${WORKI
ExecStopPost=/usr/bin/logger -t tron_exit_status "SERVICE_RESULT:${SERVICE_RESULT} EXIT_CODE:${EXIT_CODE} EXIT_STATUS:${EXIT_STATUS}"
TimeoutStopSec=20
Restart=always
LimitNOFILE=10000
LimitNOFILE=100000

[Install]
WantedBy=multi-user.target

0 comments on commit 0cd5c5b

Please sign in to comment.