Follow

The story is a little complicated but last night I discovered my server had been locking up and crashing for hours and I was finally able to trace the issue back to a DMCA notice I'd gotten on Twitter

· · Web · 2 · 1 · 9

@Gargron because I was a little sloppy! the twitter account is twitter.com/78_sampler, which is triggered by a cron job every few hours. it picks a record at random and uses openCV to try to find a label circle. If it does, it does a (computationally heavy) encode and post. If it doesn't, it exits with a failure code. So I wrapped the whole thing in an `until` loop. The DMCA notice caused the uploads to fail, so it was encoding non-stop and using 100+% CPU for hours

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!