So I upgraded my PC a bit last year which ended up in my having 2 now since I went for an AMD and I have some spare cabinets and RAMs. Well, thing is, my other machine has these specs:

Motherboard: MSI H110M PRO-VH PLUS
Processor: Intel Pentium G4560 3.50 GHz
Cabinet: Sentey Slim SS1-2426
Hard Drive: I think it is a Seagate 1TB 
RAM Memory: Kingston Fury Beast DDR4 KF432C16BB/8 

I would like to run any of the following, multiple if possible:

  • A Lemmy instance
  • A private tracker
  • A Matrix instance

So what do you say? Is it good enough for any of this shit or is it a piece of junk? I’ve been using it to play video games but with another 8gb of ram and it worked okay-ish.

I agree with Salamander.

I would care about PostgreSQL and suggest tuning it. As minimum, increasing shared memory to 512 MB.

Soviet Snake
creator
link
fedilink
12Y

What do you mean by shared memory? I’m completely new to self hosting, this would be my first attempt.

https://www.postgresql.org/docs/current/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY

Can be configured in the main PostgreSQL configuration file. It has a default value that is too small for basic use case even.

Salamander
link
fedilink
12Y

Yes, you would be able to run all of those at the same time. Of course, there will be limits - if the lemmy and matrix instances grow, at some point this setup can become insufficient. But if the amount of users is kept manageable, you should be fine.

Power consumption can be something to consider since the server would ideally be running 24/7. I use a plug power meter to measure how much power my appliances use while running. A raspberry pi 4 8GB with a 1TB SSD can also run these instances and pulls < 10 W, so if you see that your server is pulling considerably more energy I would suggest looking into power management.

Soviet Snake
creator
link
fedilink
12Y

How many users do you think this machine can handle? I think I will not be running the Matrix instance and focus on the Lemmy one which would be public but I don’t expect it to have more than 5000 users for at least 5 years, and the private tracker would probably have something of about 500 users.

Regarding the power consumption do you think having a good power supply could improve this? At this moment I can’t buy a Pi, so I will have to stick with this.

Salamander
link
fedilink
12Y

I would be lying if I gave you a number. I have never had to deal with many users, so I can’t really tell you at what point you can expect problems. It could be 50 active users at once, it could be 500, maybe even 5,000 - I really don’t know. Consider that uploaded images will fill up your SSD, and that multiple active users at once will go through your network connection.

But I really don’t know the limits. Someone else hopefully can chip in.

Self Hosted - Self-hosting your services.
!selfhost@lemmy.ml
Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules

  • No harassment
  • crossposts from c/Open Source & c/docker & related may be allowed, depending on context
  • Video Promoting is allowed if is within the topic.
  • No spamming
  • Stay friendly
  • Follow the lemmy.ml instance rules

Important

  • Lemmy doesn’t have flags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.

Cross-posting

If you see a rule-breaker please DM the mods!

  • 0 users online
  • 3 users / day
  • 3 users / week
  • 3 users / month
  • 3 users / 6 months
  • 4 subscribers
  • 51 Posts
  • 42 Comments
  • Modlog