甲骨文保鸡脚本
https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htmIdle Always Free compute instances may be reclaimed by Oracle. Oracle will deem virtual machine and bare metal compute instances as idle if, during a 7-day period, the following are true:
CPU utilization for the 95th percentile is less than 10%
Network utilization is less than 10%
Memory utilization is less than 10% (applies to A1 shapes only)
Idle Always Free计算实例可能会被 Oracle 回收。如果在 7 天内满足以下条件,则 Oracle 会将虚拟机和裸机计算实例视为空闲:
第 95 个百分位的 CPU 利用率低于 10%
网络利用率低于10%
内存利用率低于 10% (仅适用于A1 形状)
AMD鸡需要CPU和网络利用率大于10%
ARM鸡需要CPU,网络,内存利用率大于10%
不过大鸟群的帅比老师已经出手写了一个脚本可以解决闲置问题:
curl -skLO https://odcf.eu.org/oracle_keepalive.sh && bash oracle_keepalive.sh
卸载:
systemctl disable cpur --now
然后删除
vi /etc/crontab
的末行就行
链接:https://t.me/daniaomjj/3299510
甲骨文保活脚本更新了。
脚本:curl -skLO https://odcf.eu.org/oracle_keepalive.sh && bash oracle_keepalive.sh
卸载:bash oracle_keepalive.sh 233
页:
[1]