• 0 Posts
  • 68 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
    19
    arrow-down
    1
    ·
    edit-2
    24 hours 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.



  • tal@olio.cafetopics@lemmy.world...
    link
    fedilink
    English
    arrow-up
    82
    ·
    edit-2
    1 day ago

    Note that this is Jane Goodall (a famous researcher on chimpanzees, who studied a troupe in Africa for some time). Relevant:

    https://files.catbox.moe/1h368p.jpg

    This sparked a controversy:

    https://www.cbr.com/far-side-jane-goodall-gary-larson-feud/

    Okay, in August 1987, Larson did a strip where the punchline involved Goodall. The strip drew the following letter to the editor at the Arizona Daily Star…

    To the editor:

    I was appalled when I saw Gary Larson’s “The Far Side” cartoon in the Star Aug. 26. This was of two Larson animals - presumably chimpanzees - in a tree. One, which was evidently supposed to be the female, was picking a long hair from the other’s shoulder. The caption read: “Well, well - another blond hair…Conducting a little more ‘research’ with that Jane Goodall tramp?”

    To refer to Dr. Goodall as a tramp is inexcusable - even by a self-described “loony” as Larson. The cartoon was incredibly offensive and in such poor taste that readers might well question the editorial judgment of running such an atrocity in a newspaper that reputes to be supplying the news to persons with a better than average intelligence. The cartoon and its message were absolutely stupid.

    Dr. Goodall is a world-renowned scientist who has devoted 28 years of her life to studying chimpanzees in the wild. Her findings have caused the scientific world to redefine the meaning of the word “mankind” with her discoveries that include the erroneous presumption that man was the only primate to make and use tools, a distinction that - until her findings disproved it - been a measure of superiority of human beings over other primates.

    With no alignment to any animal welfare group, Dr. Goodall is working very hard to instigate better treatment of chimpanzees in biomedical laboratories. Dr. Goodall has vowed to speak out for those animals that cannot speak for themselves.

    “Tramp?” Hardly.

    The irresponsibility of the Star in choosing to run such an obscenity is disgusting. In fact, any woman should be insulted by the reference that the female - in this case, a typical Larson eyeglass-wearing animal - would be unaware of what Dr. Goodall’s research really is, its seriousness and the assumption that a female only would have the mentality to look for sexual implications.

    Sue Engel

    Executive Director

    The Jane Goodall Institute

    Yikes, so I guess Larson really offended Goodall, huh? Well, not so fast…

    Goodall hadn’t actually seen the strip herself, and when she DID see it, she thought it was funny. She didn’t think it was ACTUALLY calling her a tramp (and that’s clearly not the implication of the strip). She would later write an introduction to one of Larson’s Far Side collections.

    Going further, she even licensed the strip for shirts that were sold at The Jane Goodall Institute for years!

    EDIT: Ah, I just discovered that someone else just posted this in another post on !thefarside@sh.itjust.works, and I assume that merde — being merde — probably posted this image in response, so I’m probably working backwards here, but I’ll leave it up.






  • 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






  • 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.



  • 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.


  • While that’s what people I’ve seen tend to do for convenience — using chest freezers in out of the way places because they already have a combination fridge/freezer in their kitchen, in terms of energy cost of opening the door, it’s the other way around. Opening a chest freezer doesn’t cause as much loss of cold air as a side-opening freezer. The heavier cold air doesn’t spill out the side.

    kagis

    https://www.sustainability.ucsb.edu/blog/just-facts-labrats/chest-vs-upright-freezers-which-more-efficient-lab

    The way that these freezers open also impacts their energy usage. When the door is opened in an upright freezer, large sums of cold air are let out and heat is let in which draws more energy to re-cool the system. Whereas with a chest freezer, there is less cold air loss when the door is opened, the larger depth of the freezer also helps reduce cold air loss, resulting in less energy being needed to restabilize the cold temperature in the freezer.

    If you have room for it in a kitchen, it’d be totally reasonable to use a chest freezer for day-to-day use. I wouldn’t have space for one, myself.

    EDIT: To extend the analogy, the upright freezer is more like a small internal solid state drive on a SATA bus that came in a desktop from the OEM — you probably already have one, but it has limited capacity and there is a higher access cost — and the chest freezer is like NVMe.



  • Is your concern compromise of your data or loss of the server?

    My guess is that most burglaries don’t wind up with people trying to make use of the data on computers.

    As to loss, I mean, do an off-site backup of stuff that you can’t handle losing and in the unlikely case that it gets stolen, be prepared to replace hardware.

    If you just want to keep the hardware out of sight and create a minimal barrier, you can get locking, ventillated racks. I don’t know how cost-effective that is; I’d think that that might cost more than the expected value of the loss from theft. If a computer costs $1000 and you have a 1% chance of it being stolen, you should not spend more than $10 on prevention in terms of reducing cost of hardware loss, even if that method is 100% effective.



  • I don’t know about number one, but a few that I miss.

    • freshmeat.net. Announcements of open source software releases and updates.

    • newegg.com — computer components retailer — is still around, but it doesn’t hold the spot it once did.

    • bash.org. Searchable list of funny, ranked quotes from IRC and similar. There are some archives, like this one.

    • A few “hosting” sites that went down with a lot of user-created content. No one thing was amazing, maybe, but it produced a lot of dangling links. Geocities: “At least 38 million pages, most written by users, were displayed by GeoCities before it was terminated.[7] The GeoCities Japan version of the service lasted until March 31, 2019.[8]”. AngelFire. Tripod. Apparently the latter two are still around in some limited form.

    • Kaleidoscope.net, a site featuring themes for the eponymous classic MacOS themeing software package. They did a good job of generating theme previews. Fun to browse through.