Preface Because machines with small memory are often cheaper, the annual payment may be around $5, so manufacturers will limit the CPU and disk IO. If it exceeds the limit, it will be suspended. This is a casual thing, and some host companies will not provide refunds for suspend. So we can use some software to limit CPU usage and IO. Also, don't use any benchmarking software to run the game, otherwise you're done for. Install Cpulimit is a software that can control CPU usage. Package Installation Centos: Debian/Ubuntu Compile and install use illustrate usage Limit Firefox to 30% CPU utilization Limit the program with process number 1313 to 30% CPU utilization Limit the CPU utilization of the software under the absolute path Precautions The CPU usage limit after -l should be reduced exponentially according to the actual number of cores. The 40% limit is effective for a single-core server. If it is a dual-core server, it should be limited to 20%, a quad-core server to 10%, and so on. By default, cpulimit can only limit existing processes, but you can set this script to start automatically at random (see the script link above for setting methods). It will monitor and limit all processes (including new processes) (check once every 3 seconds, CPU limit is 75%) This can prevent the system from being suspended due to high CPU usage! Save to /root/cpulimit.sh, and the log file /root/cpulimit-log.log will be automatically generated Then add this cost reduction to start at boot. Set to start at boot Modify /etc/rc.local and add /root/cpulimit.sh to the corresponding position and restart the system, which will limit the CPU usage of each process! via: https://www.mf8.biz/cpulimit-make-none-suspend/ |
<<: FastWebHost: $12/year/unlimited space/unlimited traffic/can bind 1 domain name/Phoenix
>>: K9VPS: $5.94/year/128MB memory/10GB space/500GB traffic/OpenVZ/Los Angeles
Beyotta Network, a Singapore hosting provider, ha...
CDNPlus is a CDN application developed by Chinese...
Details: Simcentric: 1699 yuan/month/E3-1275v6/16...
SolVPS, a hosting provider founded in 2013, offer...
DMIT, an American hosting company, was founded in...
NodeServ, an American hosting company, was founde...
Systeminplace, an established foreign business, m...
TenVM, also known as Tospeed, has been introduced...
HKBGP offers discounts, free bandwidth, free disk...
Eleven2 is a very old American hosting company th...
The commonly used VPS environments on the market ...
Hostlix, a Russian hosting provider, was establis...
HurricaneCloud, a Chinese merchant, mainly provid...
Details : HostKvm: $5.7/month/2 cores/4GB memory/...
Details : Synatiq: $5/month/1GB memory/25GB NVMe ...