• 0 Posts
  • 120 Comments
Joined 18 days ago
cake
Cake day: September 14th, 2025

help-circle
  • tal@olio.cafetoSelfhosted@lemmy.worldhow do I find process that leads to oom?
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    1 day ago

    OOMs happen because your system is out of memory.

    You asked how to know which process is responsible. There is no correct answer to which process is “wrong” in using more memory — all one can say is that processes are in aggregate asking for too much memory. The kernel tries to “blame” a process and will kill it, as you’ve seen, to let your system continue to function, but ultimately, you may know better than it which is acting in a way you don’t want.

    It should log something to the kernel log when it OOM kills something.

    It may be that you simply don’t have enough memory to do what you want to do. You could take a glance in top (sort by memory usage with shift-M). You might be able to get by by adding more paging (swap) space. You can do this with a paging file if it’s problematic to create a paging partition.

    EDIT: I don’t know if there’s a way to get a dump of processes that are using memory at exactly the instant of the OOM, but if you want to get an idea of what memory usage looks at at that time, you can certainly do something like leave a top -o %MEM -b >log.txt process running to get a snapshot every two seconds of process memory use. top will print a timestamp at the top of each entry, and between the timestamped OOM entry in the kernel log and the timestamped dump, you should be able to look at what’s using memory.

    There are also various other packages for logging resource usage that provide less information, but also don’t use so much space, if you want to view historical resource usage. sysstat is what I usually use, with the sar command to view logged data, though that’s very elderly. Things like that won’t dump a list of all processes, but they will let you know if, over a given period of time, a server is running low on available memory.


  • I’m the other way. I’d rather have battery life on cell phones, and turn the refresh rate down.

    On a desktop, where the power usage is basically irrelevant, then sure, I’ll crank the refresh rate way up. One of the most-immediately-noticeable things is the mouse pointer, and that doesn’t exist on touch interfaces.







  • Probably not it — I’m about 30 years out of date on D&D — but it does sound overpowered and it is associated with Rillifane:

    https://forums.giantitp.com/showthread.php?448029-Post-Your-Chosen-Templates-Here

    It seems that a lot of people come to the FR boards looking for info on Chosen of the various deities. To put it quite simply, the majority of them don’t actually exist. So on the old FR boards, a group of members got together and started making their own homemade Chosen templates.

    I have no idea what “the old FR boards” are, but if it was old in 2013, it’s probably getting back towards the time you were looking at.

    Chosen of Rillifane

    Chosen of Rillifane Rallathil by green elven vampire

    Also known as The Master of the Great Oak

    Its a template that can be added to any Elf or Half Elf. A Chosen of Rillifane uses the character’s statistics and special abilities except as noted below.

    BONUS SPELLS (Sp): Constant ~ ~ Barkskin, Find the Path, Pass without trace. At will ~ ~ Tree Stride, Plant Growth, Snare.
    5/day:~ ~ Greenfire, Holy Smite. 3/day~ ~ Change Staff, Spell Immunity. 1/day~ ~ Shambler, Command Plants.

    Immunities (Ex): Chosen of Rillifane are Immune to ageing effects and do not age. They are also immune to all attacks and special abilities from creatures with the Plant subtype.

    Forest feast (Ex): The chosen does not need to eat or drink while in forested areas.

    Rillifane’s Acorns (Sp): The Chosen can cause a barrage of acorns to launch from her hands, from the ground, or from an oak tree within 20 yards. The acorns can fly up to 50 yards, striking any enemy the chosen wishes. She can summon up to 2 acorns for every character level attained. Each acorn requires a successful ranged touch attack to hit and deal 1d4 points of damage each. This ability can be used 3 times a day.

    The Leaflord’s Amber Prison (Su): The chosen may encase a target in a hard, translucent coating of fossil resin in a yellow, orange hue. If the target makes a successful Fort save (DC 30) the prison dissipates without effect. If saving throw fails then target is caught in the amber prison just as the effects of a Hold Monster spell. The amber prison has an AC of 25 and a hardness of 30 with 75 hitpoints. Living targets encased in the prison suffocate in 2 rounds and die. No spells may be cast from inside the prison and cannot be cast at the target inside. This ability can be used once a day.

    The Great Oak’s gift (Sp): The chosen may take the form of a huge Treant of 13HD once a day. While in this form she has all the natural abilities of a treant and may cast spells as normal with no penalties.

    Quickened spells (Sp): The chosen is granted the ability to cast certain spells as if using the Quicken Spell feat. The spells are all considered spell-like abilities and may be cast once a day each as a sorcerer of her total character level.

    • Claws of the beast
    • Cloudburst
    • Quillfire
    • Detect Crossroads
    • Blinding Spittle
    • Mass Awaken
    • Blindsight
    • Tortoise Shell
    • Healing Sting

    Saves: The character adds + 2 as a bonus to all saving throws.

    Abilities: Increase from the character as follows: Dexterity +4, Strength +2 Charisma +2, Wisdom +4.

    Skills: Wilderness lore, Handle animal, Animal empathy, and Move silently are class skills, regardless of the character’s class.

    Feats: (You gain these feats automaticly without meeting their prerequisites) Weapon Focus (quarter staff), Foe Hunter, Forester.

    Climate/Terrain: Same as the character.
    Organization: Same as the character, But must be a devoted follower of Rillifane Rallathil.
    Challenge Rating: Same as the character +5.
    Alignment: CG, CN, N
    Treasure: Same as the character.
    Advancement: Same as the character






  • Canada called me a couple of weeks ago, they want to be part of it

    https://tvtropes.org/pmwiki/pmwiki.php/Main/GirlfriendInCanada

    Girlfriend in Canada

    A convenient way for a character to disabuse the idea that they’re either gay, too socially inept for a relationship or simply unlucky in love is to claim that they indeed have a girlfriend — but the other characters have never met her because she lives in Canada. She doesn’t visit very often, but when she does they just spend all day in bed. Look, here’s her entry in his phone’s contact list. No, you can’t see a picture.

    The idea is that since “she” lives in a different country, and presumably would have to get a passport and go through all that hassle in order to visit her “boyfriend”, it’s particularly tempting to make her Canadian as a way of discouraging others from asking too many questions.

    The tactic could be scaled up.



  • tal@olio.cafetolinuxmemes@lemmy.worldWe have POSIX at home
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    2 days ago

    What’s the big deal with POSIX? Why are ppl constantly discussing what is and isn’t posix compliant?

    The short version: it’s a least-common-denominator standard that spans multiple Unix and Unix-like systems, so if you write to it, your software can fairly-trivially run on various systems.

    https://en.wikipedia.org/wiki/POSIX

    Windows has some level of Microsoft-provided Posix support, which is what the post is alluding to. I am fairly confident that it doesn’t have full Posix compliance. Cygwin, a separate, non-Microsoft, open-source effort, might qualify.

    kagis

    Okay, apparently it does confirm to a portion of the Posix standard:

    https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem

    The subsystem only implements the POSIX.1 standard – also known as IEEE Std 1003.1-1990 or ISO/IEC 9945-1:1990 – primarily covering the kernel and C library programming interfaces which allowed a program written for other POSIX.1-compliant operating systems to be compiled and run under Windows NT. The Windows NT POSIX subsystem did not provide the interactive user environment parts of POSIX, originally standardized as POSIX.2. That is, Windows NT did not provide a POSIX shell nor any Unix commands out of the box, except for pax. The NT POSIX subsystem also did not provide any of the POSIX extensions that postdated the creation of Windows NT 3.1, such as those for POSIX Threads or POSIX IPC.





  • I have a feeling its mostly due to some audio and video hardware that has some real longevity. I’ve got a VHS+minidv player that I am transferring old videos from using FireWire (well, for the minidv. VHS is s-video capture).

    Yeah, that’s a thought…though honestly, unless whatever someone is doing requires real-time processing and adding latency is a problem, they can probably pass it through some other old device that can speak both Firewire and something else.

    Probably the m-audio delta 1010

    That doesn’t have a Firewire interface, does it? I thought I had one of those.

    checks

    Oh, I’m thinking of the 1010LT, not the 1010. That lives on a PCI card.


  • Why would I bother?

    Because you want to have a single interface that accepts natural-language input and gives answers.

    That doesn’t mean that using an LLM as a calculator is a reasonable approach — though a larger system that incorporates an LLM might be. But I think that the goal is very understandable. I have Maxima, a symbolic math package, on my smartphone and computers. It’s quite competent at probably just about any sort of mathematical problem that pretty much any typical person might want to do. It costs nothing. But…you do need to learn something about the package to be able to use it. You don’t have to learn much of anything that a typical member of the public doesn’t already know to use a prompt that accepts natural-language input. And that barrier is enough that most people won’t use it.