• 1 Post
  • 66 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle












  • How did you install jellyfin?

    It should not core-dump (read: hard crash, something has gone terribly wrong), at best you should get a configuration error and errors like that.

    You can see the logs of any systemd service/unit with this: journalctl -u <name of sevice> so in this case journalctl -u jellyfin (Tip: add -f to follow the output of a running service - useful for monitoring).

    Note that some programs log to their own files (and not to stdout) so if the above command comes out empty you should look into /var/log/ directory.





  • taaz@biglemmowski.wintoLinux@lemmy.mlJava uses double ram.
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 months ago

    You could also (hard) limit the total (virtual) memory process will use (but the system will hard kill it if tries to get more) with this:
    systemd-run --user --scope -p MemoryMax=8G -p MemorySwapMax=0 prismlauncher

    You would have to experiment with how much Gs you want to specify as max so that it does not get outright killed. If you remove MemorySwapMax the system will not kill the process but will start aggressively swapping the processes’ memory, so if you do have a swap it will work (an depending on how slow the disk of the swap is, start lagging).

    In my case I have a small swap partition on an m2 disk (which might not be recommended?) so I didn’t notice any lagging or stutters once it overflow the max memory.
    So in theory, if you are memory starved and have swap on a fast disk, you could instead use MemoryHigh flag to create a limit from where systemd will start the swapping without any of the OOM killing (or use both, Max has to be higher then High obv).


  • taaz@biglemmowski.wintoLinux@lemmy.mlJava uses double ram.
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 months ago

    Fabric is one of many mod loaders ala Forge. It’s newer and less bulky then Forge (but afaik it already did have it’s own drama so now we also have a fork called Quilt, the same goes for Forge and NeoForge).

    The mods I’ve specified above can be considered as a suite replacement for the (old) OptiFine.

    E: For example this all the mod loaders modrinth (mod hosting website, curseforge alternative) currently lists:


  • taaz@biglemmowski.wintoLinux@lemmy.mlJava uses double ram.
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    3 months ago

    As a side note and a little psa, if you need to squeeze out more overall performance of out of MC (and you are playing vanilla or Fabric modpack) I very much recommend using these Fabric mods: Sodium, Lithium, FerriteCore and optionally Krypton (server-only), LazyDFU, Entity Culling, ImmediatelyFast.