this post was submitted on 22 Jul 2023
35 points (97.3% liked)

Selfhosted

60623 readers
857 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
 

I tried to delete and recreate the container, but there's still this insane power consumption.

For comparison, cloudflared doing a tunnel to hundreds of users takes 0.06% of CPU time on the same server

you are viewing a single comment's thread
view the rest of the comments
[–] atzanteol@sh.itjust.works 5 points 3 years ago* (last edited 3 years ago) (1 children)

Why is your system load >5 with such little CPU usage? Seems like there is a lot of i/o on your system.

If it's network traffic going over your VPN that could explain it.

[–] Moonrise2473@feddit.it 5 points 3 years ago (1 children)

Because that's a docker container on a "busy" server (mostly WordPress wasting cycles generating pages for some bots that really have to visit my blog over and over and over and over)

(Top from inside the container)

[–] StefanAmaris@kbin.social 2 points 3 years ago (1 children)

you might want to look into getting wordpress to generate static pages and only deliver the static html.

Overall using bloging tools that generate static pages is better than constantly requesting DB and dynamically compiling each page every time there is a request

[–] Moonrise2473@feddit.it 1 points 3 years ago

Yeah it's a long time that I wanted to migrate to Hugo

The main issue is that a decade ago or so, I hosted a vibrant forum with the stupidest platform ever, bbpress. So my WordPress has something like 30k pages...