日報 2023.09.21

エリート飯。

またOracleからA1インスタンスがアイドル状態だからリソース回収すんぞって来た。いやアイドル状態じゃねえよ。ブートボリュームまで削除されたらまたブログが復旧できなくなってしまうのでバックアップとっとかんと…。

軽くサーベイしたら、アイドル状態とみなす負荷状態のしきい値があるようで、それを超えるようにsysbenchを回して対策している旨の情報が。ただやっててもメールが来るとかなんとか…どうしたらいいんや。

 I have received same e-mail as yours couple days ago. I fixed this by running a system benchmark every night (from 2:00 AM to 4:00 AM), so the server’s CPU is under load in this hours but there is no a big deal for me because I’m using this server only in day not in night hours for my selfhosted applications.

  1. Install system benchmark package, I am using sysbench: sudo apt install sysbench You can test it by benchmarking for example your instance CPU for 10 seconds by default using this command: sysbench --test=cpu run
  2. Configure job using cron, by specifying task to run sysbench for example every 2:00 AM to run for 4 hours: * 2 * * * sysbench --test=cpu --time=14400 run
  3. Save and exit

And you are pretty much done. This will bypass the Oracle Cloud Infrastructure rule suspending idle instances that have under 10% CPU Load.

https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm

タイッツー、なんかきな臭くなってきたな。そもそもフォロワー0人だけど早々と見切りつけて引退します。
RT実装されている時点で不穏な感じではあったけども。

エリート退社で朝日が眩しい。

エリート飯。

ラスト梨。また補充に行きたいけど今週末は #たまゲー 旅行のため中止。
時間が立って少し風味が落ちて酸味が出てきてしまっている。猛省。

おわい

シェアする

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

コメントする