How to keep the Oracle VPS server alive? Keep alive script recommendation

Original link: https://www.xujiahua.com/9913.html

Oracle’s foreign VPS server has always claimed that it is permanently free. Therefore, it also attracted many people to engage in accounts. Many people have been using Oracle’s servers for free.

It’s just that the official announcement came recently: through the address: https://ift.tt/haZITQq

That is, the idle VPS will be recycled.

Recycling of Idle Compute Instances

Idle Always Free computing instances may be recycled by Oracle. Oracle considers virtual machines and bare metal compute instances to be idle if the following conditions are met within 7 days:

95% of the time CPU utilization is below 10%

Network utilization is less than 10%

Memory utilization below 10% (A1 shape only) (ARM instance)

This announcement clarifies the specific rules for recycling idle resources!

According to the official instructions, if the CPU/network/memory do not meet the requirements, the computing instance will be recycled, and the account will not be affected. After recycling, you should be able to open a new instance.

Therefore, in order to prevent your VPS from being idle, many masters on the Internet have released tutorials on keeping alive.

This diary brother also found a script on the Internet and tested it, and shared it with the veterans in need:

One-click script:

bash <(wget -qO- –no-check-certificate https://ift.tt/McitVry)

It’s easy to use:

SSH login to your VPS, fill in the one-click script:

Follow the prompts and fill in all the way down: choose 1 to install, choose to update the software package,

CPU usage program, choose 1:

Occupying intrinsic choice Y:

Broadband occupancy can be set according to your own needs:

illustrate

The CPU occupancy can be freely selected from the calculation prime number mode and the scientific calculation mode, and the set occupation range is 15~25%.

The CPU usage is dynamic, it is detected every few seconds, the calculation task is dynamically adjusted, and the detection interval is also dynamically adjusted

The memory usage setting occupies 20% of the total memory

The memory usage is checked every 120 seconds. The usage is dynamic. If your memory is greater than 20%, it will not increase the usage

Bandwidth Occupancy Download a 1G~10G file every 30 minutes to occupy it, only download but not save, and the hard disk will not be occupied during the download process

Bandwidth occupancy dynamically adjusts the actual download bandwidth/rate, and limits the download time to a maximum of 10 minutes. Before each download, test the maximum available bandwidth and adjust it to 20% bandwidth download in real time

During the occupancy process, daemon processes and self-starting services are used to ensure that the occupancy tasks are continuous and effective

You can choose to uninstall all occupied services with one click. Uninstallation will uninstall all scripts and services, including tasks, daemons, and boot-up settings

———————————————

Copyright statement: This article is an original article of CSDN blogger “spiritLHL”, which follows the CC 4.0 BY-SA copyright agreement. For reprinting, please attach the original source link and this statement.

Original link: https://ift.tt/cVJyBvj

Please indicate when reprinting: Diary Boy’s Blog » How does the Oracle VPS server keep alive? Keep alive script recommendation

This article is transferred from: https://www.xujiahua.com/9913.html
This site is only for collection, and the copyright belongs to the original author.