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

  • Moonrise2473@feddit.itOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      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.itOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year 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…