You goofed, bot! :D
You goofed, bot! :D
Somehow I doubt the actual spambots have applied for a developer API key. They’ll be fine.
I’m on Linux with no swap, and can experience CPU spikes when running out of RAM. The 100% CPU usage is illusory - the CPU isn’t actually doing any calculations. When I tried using a profiler at such time, 100% of the CPU usage was something like “waiting on input/output”, which htop counts as usage.
Why is it doing input/output? Linux has a “feature” where under memory starvation it evicts pages of executable code (like shared libraries) from memory, because it knows it can load them from disk when needed. But what turns out happening instead is that the kernel will run one line of code from one thread, evict everything, load the code and shared libraries for the other thread from disk (takes loooong time!), run one line of code, evict everything, switch/repeat… This leads to disk thrashing (when we still had disks) and makes system unusable.
Is there any way, like via config or command line options, to set a hard limit on PostgreSQL memory usage, such that it would guarantee not to consume more than 1.5GB, say? Barring that (or adding more RAM indefinitely), look into the “OOM-killer” Linux feature. There is some way to configure the “ferocity” level of the watchdog inside the kernel so that it kills the process with the largest memory consumption sooner, instead of trying to thrash around by evicting even more shared memory. That will kill the Postgress process and force it to restart, but you say it works fine normally at around 0.8GB? Then the spike of runaway memory consumption is either a bug/memory leak, or a rare special event like rearranging/compressing the database somehow.
Yeah, I’m noticing a lot of missing posts/comments/votes too now. It’s as if the federation protocol is taking a long time to catch up, even if nothing is otherwise blocked. For now I have to browse the communities I like on their host servers through https://lemmyverse.net/, then copy the fediverse URL of the comment I want to reply to, and paste it into my instance’s search box. That usually syncs it up and I can reply then.
There is also a link to Instances
at the bottom of any page.
lemmy.ml is defederated from lemmynsfw.com, so they cannot exchange any posts anymore. You can see the federated/defederated list at the “instances” link at the bottom of the page. This is the flip side of fediverse: the power to moderate their communities and to chose whom to associate with is given back to the users, but it has the potential to create a “swiss cheeze” social network. To create a user, look for servers that have “free speech” as one of their community values, which would not defederate for ideological/nsfw reasons, and hope no one would defederate from them for being too “free”.
My first impulse as an ex-redditor is to flock to the server with highest population, because I am sheep. I want to see the most content and comments. For me fortunately likewise it took two minutes to figure out that you can see any content from any server. Maybe the server list on join-lemmy.org should show “load percentage” instead of “number of users” :)
That’s why Google is pushing hard their Web Environment Integrity. It’s DRM for the browser! They want the TPM chip in your computer to attest that the code running processing the video stream is authentic. Then you can’t slice out the ads because you do not have physical access to the inside of TPM. With HDCP encryption on the HDMI video output, you gonna need to point a literal video camera at the physical screen to DVR the video and slice out the ads later.
They’ve been working hard for decades to lock down the video pipeline with TPM and HDCP and now WEI. They said “don’t worry about it” and we let them. They are really close to snapping the trap shut!
Now please excuse me, my tongue is falling off with all the acronyms…