###Tuning
$ netstat -nao | grep 8080 | grep TIME_WAIT | wc -lTo achieve the top most performance you should tune the source server system limits:
net.ipv4.tcp_max_tw_buckets = 65536###Tuning
$ netstat -nao | grep 8080 | grep TIME_WAIT | wc -lTo achieve the top most performance you should tune the source server system limits:
net.ipv4.tcp_max_tw_buckets = 65536| #!/bin/bash | |
| #Run command below first then comment it out once installed.. | |
| sudo apt-get update && sudo apt-get install speedometer | |
| # Run command: ip addr | |
| # To find what ethernet ports you wish to watch example show below | |
| # lo = Local Traffic eth0= Is the ethernet port traffic | |
| # For more information visit http://excess.org/speedometer/ | |
| #Fix the below command to reflect the correct interface locations. | |
| #speedometer -l -r lo -t eth0 -m $(( 1024 * 1024 * 3 / 2 )) |
| #!/bin/bash | |
| sudo apt-get install software-properties-common -y | |
| sudo add-apt-repository universe -y | |
| sudo apt update | |
| sudo apt-get install wget subversion curl -y | |
| wget -O "ehcpforce_stable_snapshot.tar.gz" -N https://github.com/earnolmartin/EHCP-Force-Edition/releases/download/1.1.1.1/ehcpforce_stable_snapshot.tar.gz | |
| tar -zxvf "ehcpforce_stable_snapshot.tar.gz" | |
| cd ehcp | |
| sudo bash install.sh |
| user nginx; | |
| worker_processes 1; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| load_module modules/ngx_rtmp_module.so; | |
| load_module modules/ngx_http_vod_module.so; | |
| events { |