this post was submitted on 19 Dec 2024
39 points (86.8% liked)

Selfhosted

61003 readers
474 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Yo,

Wandering what the limit is when it comes to how many containers I can run. Currently I'm running around 15 containers. What happens if this is increased to say, 40? Also, can docker containers go "idle" when not being used - to save system resources?

I'm running a i7-6700k Intel cpu. Doesn't seem to be struggling at all with my current setup at least, maybe only when transcoding for Jellyfin.

you are viewing a single comment's thread
view the rest of the comments
[–] jlh@lemmy.jlh.name 3 points 2 years ago (2 children)

I have gone up to about 300-400 or so. Currently running about 5 machines averaging about 100 each.

[–] jacksilver@lemmy.world 2 points 2 years ago (1 children)

Are some of them redundant containers? That's just a lot of services to be running.

[–] jlh@lemmy.jlh.name 1 points 2 years ago

Yeah most of them are just high-availability replicas, probably only about 100-200 actual services/microservices

[–] femtech@midwest.social 2 points 2 years ago (1 children)
[–] jlh@lemmy.jlh.name 2 points 2 years ago* (last edited 2 years ago)

RAM is definitely the limiting factor. The one server with a 5600X and 64GiB ram handled it pretty well as long as I wasn't doing cpu transcoding, though.

I've since added two N100 boxes with 16GiB and two first gen Epyc 32 cores with 64GiB ram. All pretty cost effective and quiet.

The N100 CPUs get overloaded sometimes if they're running too many databases, but usually it balances pretty well.