Video Streaming Server With Multi-Protocol,Robust And Rich API
Location:Index Page  >  Document  >  System

Ti Top Streamer can only run on 64 bit Linux servers, such as RedHat, CentOS, Debian, Ubuntu, RockyLinux, etc.

Before installing Ti Top Streamer, please perform some necessary checks on the system:

1. Check the number of cores in the CPU (logical CPU):

cat /proc/cpuinfo| grep "processor"| wc -l
			


2. Check the amount of physical memory:
free -g
or
free -m
			


3. Confirm it is a 64 bit system
getconf LONG_BIT
			


4. Check if your server can connect to the Internet
ping www.baidu.com
			


5. Check the maximum number of file descriptors that a process can open
ulimit -n
			
We suggest that you refer to the following introduction and set it to 65535 or above.

Please check below configuation file first:
/etc/systemd/system.conf 
			
In this file, please modify the following three items as follows:
DefaultLimitCORE=infinity
DefaultLimitNOFILE=65535
DefaultLimitNPROC=65535
			
Note that the "#" sign should be removed before each line.

After the modify, Please run the command "systemctl daemon-reexec" or "systemctl daemon-reload",So that to make it effective!

Next, continue to check the following configuration files:
/etc/security/limits.conf 
			
In this file, the maximum number of fd(file descriptor) should be set as follows:
root soft nofile 65535
root hard nofile 65535
* soft nofile 65535
* hard nofile 65535
			
If the above configuration is not present in your file, please add it at the end of the file.

Usually, after this file is modified, it needs to be logged in again to take effect.

Finally, if you want to confirm that the maximum quantity of fd(file descriptor) has indeed taken effect, you need to follow the following steps to confirm:

1. Find the process "tts" of Ti Top Streamer at runtime and its process number
ps -ef | grep tts
			
2. View the maximum number of fds for this process based on its process number
#Assuming the process number is 12345, run the following command:
grep "Max open files" /proc/12345/limits