This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
これまでは Twitter はもう終わり言説にピリピリしすぎだろ肩の力抜こうぜとか思ってたけど関宮さんが凍結されたの見て緊張感出てきた
ぼっちインスタンスでも連合先からバルスのパルス入ってくるよね。PumaとRedisとPostgresは忙しくなりそう。Sidekiqはそうでもないのかな?
@hyuki 連合先からはトゥートがSidekiqのキューに入れられて配送されてきます。その瞬間からどれだけ遅れて配送されてくるかは連合先のキューのたまり具合と処理速度に依存しそう。こちら側のインスタンスが落ちてたりエラーを返したりしたら何日かの間、再試行が続きそうです。
あ、そうかぼっちインスタンスは連合先のキューを通してバルスを受け取るので、大きいインスタンスよりはばらけて負荷が来るのか。
This account is not set to public on notestock.
This account is not set to public on notestock.
Mastodonでcronジョブを走らせなくて良くなったのは1.5.0からのようですね http://k0ta0uchi.hatenablog.com/entry/2017/05/21/141238
@Naf うちだとPaperclipぽい感じのこんなログがみえます
Command :: file -b --mime '/tmp/なんかハッシュ.png'
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/なんかハッシュ[0]' 2>/dev/null
Command :: identify -format %m '/tmp/なんかハッシュ[0]'
Command :: convert '/tmp/なんかハッシュ[0]' -auto-orient -resize "280x120>" -quality 80 -strip '/tmp/別のハッシュ'
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/他のハッシュ[0]' 2>/dev/null
[paperclip] saving /preview_cards/images/000/004/823/original/61ae59fe1997ee64
This account is not set to public on notestock.
Pumaの並列度を調整して、全体が壊れないように入ってくる負荷を制限するのかなあとぼんやり思っております。(ってことは連合先にお返事が遅れるってことなんよな…
This account is not set to public on notestock.
このあたりがハイライトかな?
- Fix the migration error when deprecated_preview_cards has been deleted
- Hardcode IdToBigints migration columns
うー
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
PG::TRDeadlockDetected: ERROR: deadlock detected
DETAIL: Process 1152 waits for AccessExclusiveLock on relation 4035169 of database 4035021; blocked by process 1385.
Process 1385 waits for AccessShareLock on relation 4035268 of database 4035021; blocked by process 1152.
Migrating to IdsToBigints (20170918125918) がけっこうロックなようです。
20170918125918 IdsToBigints: migrated (115.4333s)
どきどきですよw
\マスターに/ \なりますたー/
Merged tootsuite/mastodon at 66126f302167d21e4bf247e660f595ff0beaaf20.
dd4ef6983にPostgreSQLのidのintegerからbigintのmigrationがあります。テーブルをロックしなきゃいけない感じなので要注意。