検索

という事で、ジョブキューが詰まり始めたらまずは default.yml の以下の項目を増やしましょう


# Job rate limiter
# deliverJobPerSec: 128
# inboxJobPerSec: 16 ← デフォルトのinboxが少なすぎる128で良い。


こっちは上げ過ぎても良くない。コア数*スレッド数がちょうどいい

# Job concurrency per worker
# deliverJobConcurrency: 128
# inboxJobConcurrency: 16
返信 0 · Renote 1
Well, I'm on the #job market. I hold a master in Computational Social Science and am currently based in #Madrid, #Spain. 💻 I am proficient in #R and #SQL, and capable to work with #Python and #QGIS. 🗣️Spanish and English If anyone has information on any jobs related to Data Analysis, Data Science, Research, etc. I would be very grateful if you could let me know! #jobsearch
返信 0 · Renote 1
Calckey で .config/default.yml のジョブキューの値、気になったので、変えてみたのですよ。値を大きくしてみました。この方が CPU 負荷が減ってますね。Misskey はちょっと値が異なるので注意。 :Shiropuyo_wow:

# Job concurrency per worker
deliverJobConcurrency: 256
inboxJobConcurrency: 32

# Job rate limiter
deliverJobPerSec: 256
inboxJobPerSec: 32

# Job attempts
deliverJobMaxAttempts: 16
inboxJobMaxAttempts: 8

これで投稿してみると……テスト~~~ :Shiropuyo_doon:
もう一度再起動いれます~~~1~2 分レスポンス失います~~~ :blob_bongo_cat_keyboard:
こんな感じだと配送はどうなるかな~と。テスト、テスト、…… :Shiropuyo_doon:
返信 0 · Renote 1
返信 0 · Renote 1
返信 0 · Renote 1
返信 0 · Renote 1
OK。管理者さん向け。ジョブキューで index の waiting が貯まりたしていたら、 .config/example.yml の次のところの行頭 # を外して、 16 を 32 とか大きい値にしてみて下さい~。

# Job concurrency per worker
# deliverJobConcurrency: 128
# inboxJobConcurrency: 16

# Job rate limiter
# deliverJobPerSec: 128
# inboxJobPerSec: 16

# Job attempts
# deliverJobMaxAttempts: 12
# inboxJobMaxAttempts: 8
:Shiropuyo_mattari:
返信 0 · Renote 0