...
Code Block | ||||
---|---|---|---|---|
| ||||
dropwatch -l kas >start |
UDP socket buffers tuning on system level
If UDP is used to publish or play high bitrate streams (for instance, as CDN internal transport), UDP socket buffers tuning may be required
Code Block | ||||
---|---|---|---|---|
| ||||
sudo sysctl -w net.core.rmem_max=26214400
sudo sysctl -w net.core.rmem_default=26214400 |
In this case the server performance should be enough to handle all the traffic packets. Otherwise, a translation quality will drop (a freezes will appear), and CPU will become a bottleneck.
Channel load optimization
...
Code Block | ||
---|---|---|
| ||
[Service]
User=flashphoner
Group=flashphoner
LimitNOFILE=100000
... |
Internal command to change file descriptors limit
Since build 5.2.1255 the following command can be used to set file descriptors limit:
Code Block | ||||
---|---|---|---|---|
| ||||
sudo ./webcallserver set-fd-limit 100000 |
WCS will be stopped before settings changing and will be automatically started after settings changing to apply them.
If a new value is less than the default one (20000), erroe message will be displayed, and changes will not be applied.
Traffic encryption in a separate thread for each client session
...