this post was submitted on 29 Dec 2022
11 points (100.0% liked)

Chat

7521 readers
23 users here now

Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 3 years ago
MODERATORS
 

When Beehaw was first launched our disk usage (physical space on the server) was approximately 45%.

Right now we are up to 72% and this will continue to climb over time.

At the moment, I can only see two options. Firstly, go up an additional tier with our server host which would increase the monthly hosting cost.

Secondly, figure out a way to remove old and inactive posts. Hopefully, there is a batch process for this or something similar. I'm not an expert in this area, sadly.

What are your thoughts?

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 2 years ago (1 children)

In my wholly personal opinion, content on Lemmy is transient enough to warrant being deleted after a period of time if it hasn't generated any discussion. It's the discussion that matters, after all. Though, I haven't looked much into how Lemmy works under the hood and I have no idea how much this sort of content would actually amount to in terms of disk usage. Intuitively it doesn't seem like it'd take a lot of space to store.

[–] [email protected] 5 points 2 years ago

I like this option.

Also have folks switch to Imgur or alt as the image host instead of beehaw?

[–] [email protected] 3 points 2 years ago (1 children)

I know that logs take a good amount of storage on Lemmy servers. For example, my database is only ~1.9 GB but I'm using about 25 GB total space because I haven't truncated my logs in a while. You do have a much more populated server than mine though.

[–] [email protected] 3 points 2 years ago

I've written a script that automatically keeps the logs small.

[–] [email protected] 3 points 2 years ago

*Feeling a bit upset to contribute to this a little*

Basically every time I want to post at some random community over the federation, the post creator uploads the pic to beehaw, not to the receiver instance 😞

I really wish I could see and be able to clean my own junk..

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

At what level do we have control over the images uploaded to beehaw? I know we've broached this topic a few times with @dessalines but I don't remember the outcome. Can we cap how many kb or size in pixels as a stop gap?

Is there anyone who uses our instance that can help to push for more granular control over what can be eating up disk space or can develop scripts to help us manage this? This instance (and likely others) would find scripts for removing old content with no comments, focused on the largest objects first particularly valuable. Something to proactively identify anything taking up a lot of space on the server could help too.

[–] [email protected] 3 points 2 years ago

At what level do we have control over the images uploaded to beehaw?

Follow this link to find the developer responsible for 'pict-rs' which handles images/thumbnails.

[–] [email protected] 3 points 2 years ago (1 children)

Can you give us absolute numbers instead of percentages? You can get cheap storage for way less money than fast storage.

[–] [email protected] 3 points 2 years ago

The server is, currently, using 18GB of the allotted 25GB.

[–] [email protected] 2 points 2 years ago (1 children)

How much are the server costs?

I think it is fine to delete inactive posts, but it might be a problem if some has favorited a post that is later automatically deleted.

[–] [email protected] 5 points 2 years ago (2 children)

How much are the server costs?

All of our financials are transparent and can be viewed here.

The server costs are roughly $6 per month.

[–] [email protected] 3 points 2 years ago (1 children)

how much more is the next tier of storage?

[–] [email protected] 3 points 2 years ago

An additional $6 raising it to $12 per month.

[–] [email protected] 2 points 2 years ago

Yes it was the main reason for me moving my VPS hosting from Digital Ocean to Hostworld. I paid a bit less and got 100 GB of storage vs I think Digital Ocean's 80GB. I'm on their VPS-3 tier.