ruud

joined 1 year ago
MODERATOR OF
[–] ruud@lemmy.world 4 points 1 day ago (1 children)

Yes there is an issue with the Mlym container (old.lemmy.world), we have now stopped it because it also slowed the other alternative UI's. We'll troubleshoot this.

[–] ruud@lemmy.world 17 points 2 days ago (1 children)

It would have been better if they communicated to us first. I don't disagree that user signups should be spread over instances. We now have a link to https://lemmyverse.net on our signup page so people can check if another instance would fit them better.

[–] ruud@lemmy.world 9 points 4 days ago* (last edited 4 days ago) (4 children)

I have setup bskysocial.world to test that (there's no web interface, just select this domain when logging in or signing up via the app or https://bsky.app)

Note: This is for testing only, I can't promise it will remain running.

(I am @ruud.bskysocial.world)

[–] ruud@lemmy.world 1 points 4 days ago (1 children)

I think the owner of this (and other decades music) is no longer active. I'll find some other mods for it if he doesn't respond to my message, and I'm sure we can update the title ;-)

[–] ruud@lemmy.world 1 points 4 days ago

It's a feature of the app, where it doesn't load all messages at once. Whenever you've read all it has loaded, you'll see this message, and when clicking it it will load more posts.

[–] ruud@lemmy.world 3 points 1 week ago (1 children)

I think the links and usernames are now OK.

[–] ruud@lemmy.world 4 points 1 week ago (2 children)

Yeah that went wrong when copy/pasting the text, I'll fix it.

 

Finally a new blog post about all our instances and the finances..

0
Canvas in 30 days 👀 (canvas.fediverse.events)
 

cross-posted from: https://toast.ooo/post/3740832

turns out I did my math wrong, so it’s a little less than 30 days

July 12th, 2024 @ midnight EDT

https://canvas.fediverse.events

✨ this year’s event also supports the entire fediverse not just Lemmy!

(you have to be able to make/receive text posts, like mastodon, lemmy, pixelfed, etc) (peertube accounts will not work)

you can get update announcements on other fedi platforms with @canvas@fediverse.events link

chat about Canvas on Matrix or Discord (they’re bridged)

[–] ruud@lemmy.world 1 points 3 months ago

I did register writefreely.world planning to host that one day, but I need some more selfhosting nerds to help out running all these instances :-) The foundation is now already running a few dozen Fedi instances :-D

1
submitted 7 months ago* (last edited 7 months ago) by ruud@lemmy.world to c/fediverse@lemmy.world
 

Next to Mastodon.world and Lemmy.world I am also running Calckey.world. This was running Calckey, a Misskey fork. That was re-branded to FireFish (that's the danger of running sites with the software name in the URL... :-) ).

Unfortunately due to circumstances the FireFish software will no longer be maintained. Therefore I was looking for another Misskey fork that could replace it, and I found Sharkey. This looks really nice.

So being who I am, I registered https://sharkey.world and installed it. It still needs some configuring and branding, but it works and you can use it! (As you will see it currently uses the Calckey.world branding)

I will write a brief how-to on migrating from Calckey to Sharkey and hope the calckey.world users will migrate.

 

There was another attack going on (as you might have noticed). We're working on a fix. In the meantime, we've blocked the listing of comments, so we at least aren't down, but it did break comments.

Hope to have a fix in the next hour. Stay tuned!

Update OK we've implemented a fix, again many thanks to @sunaurus@lemm.ee for his assistance. This will prevent the outages we've seen last couple of days. Let's see what they will come up with next...

[–] ruud@lemmy.world 1 points 1 year ago

(I'll add links / descriptions later)

I host the following fediverse stuff:

  • Lemmy (you're looking at it)
  • Mastodon (3 instances)
  • Calckey oh sorry, now FireFish
  • Pixelfed
  • Misskey
  • Writefreely
  • Funkwhale
  • Akkoma (2 instances)
  • Peertube

And these are other things I host:

  • Kimai2
  • Matrix/Synapse
  • Silver Bullet
  • XWiki (3 instances)
  • Cryptpad (2 instances)
  • Gitea
  • Grafana
  • Hedgedoc
  • Minecraft
  • Nextcloud
  • Nginx Proxy Manager
  • Paperless-ngx
  • TheLounge
  • Vaultwarden
  • Zabbix
  • Zammad
[–] ruud@lemmy.world 0 points 1 year ago (1 children)

Does this still happen?

 

Today, like the past few days, we have had some downtime. Apparently some script kids are enjoying themselves by targeting our server (and others). Sorry for the inconvenience.

Most of these 'attacks' are targeted at the database, but some are more ddos-like and can be mitigated by using a CDN. Some other Lemmy servers are using Cloudflare, so we know that works. Therefore we have chosen Cloudflare as CDN / DDOS protection platform for now. We will look into other options, but we needed something to be implemented asap.

For the other attacks, we are using them to investigate and implement measures like rate limiting etc.

3
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world
 

As requested by some users: 'old' style now accessible via https://old.lemmy.world

Code can be found here: https://github.com/rystaf/mlmym , created by Ryan (Is he here?) (Yes he appears to be! @nnrx@sh.itjust.works ! Thanks for this awesome front-end!)

 

Let me contribute an oldie favorite.

 

We've installed Voyager and it's reachable at https://m.lemmy.world, you can browse Lemmy, and login there (also if your account isn't on lemmy.world)

PS Thanks go out to @stux@stux@geddit.social , he came up with the idea (see https://m.geddit.social).

[–] ruud@lemmy.world 1 points 1 year ago

Good point, I'll update the post.

4
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world
 

While I was asleep, apparently the site was hacked. Luckily, (big) part of the lemmy.world team is in US, and some early birds in EU also helped mitigate this.

As I am told, this was the issue:

  • There is an vulnerability which was exploited
  • Several people had their JWT cookies leaked, including at least one admin
  • Attackers started changing site settings and posting fake announcements etc

Our mitigations:

  • We removed the vulnerability
  • Deleted all comments and private messages that contained the exploit
  • Rotated JWT secret which invalidated all existing cookies

The vulnerability will be fixed by the Lemmy devs.

Details of the vulnerability are here

Many thanks for all that helped, and sorry for any inconvenience caused!

Update While we believe the admins accounts were what they were after, it could be that other users accounts were compromised. Your cookie could have been 'stolen' and the hacker could have had access to your account, creating posts and comments under your name, and accessing/changing your settings (which shows your e-mail).

For this, you would have had to be using lemmy.world at that time, and load a page that had the vulnerability in it.

2
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world
 

Another day, another update.

More troubleshooting was done today. What did we do:

  • Yesterday evening @phiresky@phiresky@lemmy.world did some SQL troubleshooting with some of the lemmy.world admins. After that, phiresky submitted some PRs to github.
  • @cetra3@lemmy.ml created a docker image containing 3PR's: Disable retry queue, Get follower Inbox Fix, Admin Index Fix
  • We started using this image, and saw a big drop in CPU usage and disk load.
  • We saw thousands of errors per minute in the nginx log for old clients trying to access the websockets (which were removed in 0.18), so we added a return 404 in nginx conf for /api/v3/ws.
  • We updated lemmy-ui from RC7 to RC10 which fixed a lot, among which the issue with replying to DMs
  • We found that the many 502-errors were caused by an issue in Lemmy/markdown-it.actix or whatever, causing nginx to temporarily mark an upstream to be dead. As a workaround we can either 1.) Only use 1 container or 2.) set ~~proxy_next_upstream timeout;~~ max_fails=5 in nginx.

Currently we're running with 1 lemmy container, so the 502-errors are completely gone so far, and because of the fixes in the Lemmy code everything seems to be running smooth. If needed we could spin up a second lemmy container using the ~~proxy_next_upstream timeout;~~ max_fails=5 workaround but for now it seems to hold with 1.

Thanks to @phiresky@lemmy.world , @cetra3@lemmy.ml , @stanford@discuss.as200950.com, @db0@lemmy.dbzer0.com , @jelloeater85@lemmy.world , @TragicNotCute@lemmy.world for their help!

And not to forget, thanks to @nutomic@lemmy.ml and @dessalines@lemmy.ml for their continuing hard work on Lemmy!

And thank you all for your patience, we'll keep working on it!

Oh, and as bonus, an image (thanks Phiresky!) of the change in bandwidth after implementing the new Lemmy docker image with the PRs.

Edit So as soon as the US folks wake up (hi!) we seem to need the second Lemmy container for performance. So that's now started, and I noticed the proxy_next_upstream timeout setting didn't work (or I didn't set it properly) so I used max_fails=5 for each upstream, that does actually work.

2
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world
 

Status update July 4th

Just wanted to let you know where we are with Lemmy.world.

Issues

As you might have noticed, things still won't work as desired.. we see several issues:

Performance

  • Loading is mostly OK, but sometimes things take forever
  • We (and you) see many 502 errors, resulting in empty pages etc.
  • System load: The server is roughly at 60% cpu usage and around 25GB RAM usage. (That is, if we restart Lemmy every 30 minutes. Else memory will go to 100%)

Bugs

  • Replying to a DM doesn't seem to work. When hitting reply, you get a box with the original message which you can edit and save (which does nothing)
  • 2FA seems to be a problem for many people. It doesn't always work as expected.

Troubleshooting

We have many people helping us, with (site) moderation, sysadmin, troubleshooting, advise etc. There currently are 25 people in our Discord, including admins of other servers. In the Sysadmin channel we are with 8 people. We do troubleshooting sessions with these, and sometimes others. One of the Lemmy devs, @nutomic@lemmy.ml is also helping with current issues.

So, all is not yet running smoothly as we hoped, but with all this help we'll surely get there! Also thank you all for the donations, this helps giving the possibility to use the hardware and tools needed to keep Lemmy.world running!

5
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world
 

Looks like it works.

Edit still see some performance issues. Needs more troubleshooting

Update: Registrations re-opened We encountered a bug where people could not log in, see https://github.com/LemmyNet/lemmy/issues/3422#issuecomment-1616112264 . As a workaround we opened registrations.

Thanks

First of all, I would like to thank the Lemmy.world team and the 2 admins of other servers @stanford@discuss.as200950.com and @sunaurus@lemm.ee for their help! We did some thorough troubleshooting to get this working!

The upgrade

The upgrade itself isn't too hard. Create a backup, and then change the image names in the docker-compose.yml and restart.

But, like the first 2 tries, after a few minutes the site started getting slow until it stopped responding. Then the troubleshooting started.

The solutions

What I had noticed previously, is that the lemmy container could reach around 1500% CPU usage, above that the site got slow. Which is weird, because the server has 64 threads, so 6400% should be the max. So we tried what @sunaurus@lemm.ee had suggested before: we created extra lemmy containers to spread the load. (And extra lemmy-ui containers). And used nginx to load balance between them.

Et voilà. That seems to work.

Also, as suggested by him, we start the lemmy containers with the scheduler disabled, and have 1 extra lemmy running with the scheduler enabled, unused for other stuff.

There will be room for improvement, and probably new bugs, but we're very happy lemmy.world is now at 0.18.1-rc. This fixes a lot of bugs.

[–] ruud@lemmy.world 1 points 1 year ago

Nice list. I prefer calckey over misskey. (I run calckey.world)

view more: next ›