9
submitted 4 days ago* (last edited 4 days ago) by activistPnk@slrpnk.net to c/bugs@sopuli.xyz

SDF went down over a month ago because they ran out of disk space. I’m calling this a software security bug for needless loss of availability. It should have only been a partial loss of availability.

What should have happened

When the server detects disk space getting low, it should not just crap out. It should switch into a read-only mode. In read-only mode, users can still login and access existing content. New posts, comments, and edits are disabled in this state. The node should signal to other fedi nodes that connect that it is in read-only mode.

Perhaps most importantly, users could then be informed /in band/ that the server still lives. We often see fedi nodes simply vanish out of the pure blue and users are at a spontaneous loss of data and relationships. Logging into a read-only server would settle some nerves.. keep ppls blood pressure down.

you are viewing a single comment's thread
view the rest of the comments
[-] Shadow@lemmy.ca 3 points 3 days ago

Lemmy itself doesn't use disk storage, it just writes to a db. If the disk is full then that's a postgres issue, not a lemmy one. Lemmy might not even know the disk is full if the db is on a different machine.

[-] activistPnk@slrpnk.net 2 points 2 days ago* (last edited 2 days ago)

Interesting that Lemmy server has no disk access (that in effect, it just uses inter-process communication). Apparently it is possible to query a DB for the available remaining space for wherever that DB lives.

So IMO it is still a Lemmy issue. In the event that Postgres cannot handle the query (which I have not checked), it is still a Lemmy issue because Lemmy should not choose a DB that cannot provide storage info.

[-] Shadow@lemmy.ca 3 points 2 days ago

That's a Microsoft sql server command....

[-] activistPnk@slrpnk.net 1 points 2 days ago

Oof.. well, hopefully that was just a bad example. Hopefully a FOSS SQL server exists with the same capability.

this post was submitted on 09 May 2026
9 points (100.0% liked)

Bug reports 🐞on🐛any🦠software🪲

148 readers
1 users here now

When a bug tracker is inside the exclusive walled-gardens of MS Github or Gitlab.com, and you cannot or will not enter, where do you file your bug report? Here, of course. This is a refuge where you can report bugs that are otherwise unreportable due to technical or ethical constraints.

⚠of course there are no guarantees it will be seen by anyone relevant. Hopefully some kind souls will volunteer to proxy the reports.

related communities in the decentralised free world:

!broken_software@lemmings.world

founded 4 years ago
MODERATORS