Skip to content

Commit

Permalink
Merge pull request coturn#28 from sergey-safarov/systemd-optimization
Browse files Browse the repository at this point in the history
Optimaized systemd unit file for large volume open connection and RTP…
  • Loading branch information
mom040267 committed Nov 15, 2015
2 parents 9ce9d36 + a49355e commit 752f24d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rpm/turnserver.service.fc
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,16 @@ ExecStart=/usr/bin/turnserver -o -c /etc/turnserver/turnserver.conf $EXTRA_OPTIO
ExecStopPost=/usr/bin/rm -f /var/run/turnserver.pid
Restart=on-abort

LimitCORE=infinity
LimitNOFILE=999999
LimitNPROC=60000
LimitRTPRIO=infinity
LimitRTTIME=7000000
IOSchedulingClass=realtime
IOSchedulingPriority=2
CPUSchedulingPolicy=fifo
CPUSchedulingPriority=1
UMask=0007

[Install]
WantedBy=multi-user.target

0 comments on commit 752f24d

Please sign in to comment.