Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DI
DigitalDilemma @ digdilem @lemmy.ml
Posts
2
Comments
540
Joined
2 yr. ago
  • I bought NMS when it was released, and hated it. Ok, it's legendary as something that was released before it was ready and that undoubtedly spoiled it for me - endless running and nothing to do, and I'm sure it's better now.

    Elite Dangerous was quite fun for a while, but I got frustrated with the flying aspect quite a bit and after several deaths I gave up. I'm old enough to remember the first Elite, which was even more unforgiving.

  • Dynamic memory handling.

    On a machine where MariaDb is the primary service, I'd like to be able to set a variable in the config to tell it to use all the available memory apart from a sensible buffer.

    Something like: dynamic_memory_resizing_margin = 512M (Default would be 0, which would disable this behaviour)

    On startup, Maria would log in it's primary log something like: "Dynamic Memory resizing in effect." as a reminder to admins that it's behaving in a non-standard way. It would also log if it was unable to resize down to its minimum footprint because, for example, something else was using more memory.

    Maria would then periodically (1 min?) check free OS memory and increases innodb_buffer_pool_size (and possibly other buffers) to make best use of the VM's memory.

    Reasoning: I manage quite a few MariaDb instances on some 90 vms. These vary hugely between tiny databases, and huge, extremely busy databases. VM resources vary between 1Gb of ram up to 64gb. Currently I need to periodically review every server and adjust IBPS manually based on previous history. (We've had a lot of problem with malloc libraries allowing mariadb's memory use to grow beyond what it should, so have very conservative margins to avoid ooms)

    (I understand Mysql 8 has something that promised similar to this but I'm not sure of the details as we don't use it)

  • They're often having to juggle with very low budgets, old equipment, low skill and zero support. And that's before you add children...

    I don't doubt they jumped at the chance of someone helping out.

  • Every morning we wake up with the ability to change who we are and how we act and react.

    If you're sincere, you'll use that to improve who you are tomorrow.

    If you're truly sorry, you'll do something extra to help others in some way and address the karma imbalance you've caused. Apologise to those people you hurt. (Trust me, it will mean something to them) Find ways to help others survive bullying. Make anonymous donations to the places you stole goods from.

  • Others have answered why this isn't a memory leak as such and is not as big a deal as you may think.

    But if you are still concerned, you can reduce it, even if doing so is a bad idea.

    1. You're running it natively which means you're probably using a systemd .service file to manage jackett. Research the .system setting "RuntimeMaxSec" - that will force a restart of the service every N seconds and prevent it growing. (This is a bad idea, but if you want to boss it around, you can)
    2. Run it in docker and force a max memory setting. Docker will prevent it using more than you set. You can also restrict cpu usage this way too. docker-compose example goes something like:

    deploy: resources: limits: cpus: 0.5 memory: 100m

  • Same. Been using debian stable for over two decades. It does everything I need,

    At work we use EL distros in vms. All of them are backed up by image every 3 hours, so a non-booting system is generally best dealt with by simply restoring the whole vm from before the change.

    I'm not opposed to atomics, but I don't have the need and haven't yet invested much time into learning their differences.

  • And you needed to find out the scanlines of your monitor before X would even display anything, and then that was a black and white grid. Then you needed to spent another day or two getting a window manager working.

  • Cloudflare are the cheapest domain registrar since they take zero profit from the sale. You will not find anywhere cheaper. (If you do, then look very carefully for hidden charges since that registrar will be subsidising your domains)

    They've got some pretty useful free tools to help you manage it, and use it effectively too.

    (For the Cynical, CF's MD was very open about why they don't charge for domains - it's to get your goodwill. The only restriction is you can't use third party nameservers for domains you host with them for free, you have to use CF's. I've never found that a problem in many years of both private and commercial domain hosting there)

  • World News @lemmy.ml
    DigitalDilemma @lemmy.ml

    America drops to 46th place in Sustainable Development, behind Cuba, Thailand and other "third world countries"

    Under this methodology of all 193 UN Member States – an expansive model of 17 categories, or “goals,” many of them focused on the environment and equity – the U.S. ranks below Thailand, Cuba, Romania and more that are widely regarded as developing countries.

    In 2022, America was 41st. Interesting to see where it will be after this term of office, which looks set to be working against many of these aims.

    Linux @lemmy.ml
    DigitalDilemma @lemmy.ml

    Stopping a badly behaved bot the wrong way.

    I host a few small low-traffic websites for local interests. I do this for free - and some of them are for a friend who died last year but didn't want all his work to vanish. They don't get so many views, so I was surprised when I happened to glance at munin and saw my bandwidth usage had gone up a lot.

    I spent a couple of hours working to solve this and did everything wrong. But it was a useful learning experience and I thought it might be worth sharing in case anyone else encounters similar.

    My setup is:

    Cloudflare DNS -> Cloudflare Tunnel (Because my residential isp uses CGNAT) -> Haproxy (I like Haproxy and amongst other things, alerts me when a site is down) -> Separate Docker containers for each website. On a Debian server living in my garage.

    From Haproxy's stats page, I was able to see which website was gathering attention. It's one running PhpBB for a little forum. Tailing apache's logs in that container quickly identified the pattern and made it easy to see what was ha