Post A1RF2tREpEDfVgOedk by mansr@society.oftrolls.com
(DIR) More posts by mansr@society.oftrolls.com
(DIR) Post #A1RDEt7HeEFq4vefT6 by fribbledom@mastodon.social
2020-11-21T23:19:59Z
1 likes, 0 repeats
Linux sucks at dealing with OOM situations 😒
(DIR) Post #A1RDEtG97HLMWPnkHY by charims@social.pcwideopen.com
2020-11-21T23:20:25.336686Z
0 likes, 0 repeats
@fribbledom wants early oom
(DIR) Post #A1RDJKXLdpVIHOxrm4 by icedquinn@blob.cat
2020-11-21T23:21:12.810195Z
0 likes, 0 repeats
@fribbledom Linux sucks.
(DIR) Post #A1RDKG5Lg5ZMlMJKBU by piggo@piggo.space
2020-11-21T23:21:22.451841Z
0 likes, 0 repeats
@fribbledom oops ram is full better slow to a crawl instead of oom killing something
(DIR) Post #A1RDQFQn1UA6TICBc0 by charims@social.pcwideopen.com
2020-11-21T23:22:28.337258Z
0 likes, 0 repeats
@fribbledom haven't tried it myself, but there is this:https://github.com/rfjakob/earlyoom
(DIR) Post #A1RDaMfKynLpnyp9pw by matt@linuxrocks.online
2020-11-21T23:23:29Z
0 likes, 0 repeats
@piggo @fribbledom Fedora ships with earlyOOM, is that not good enough?My experience with Windows running out of ram is heavy swap file usage. I hate it
(DIR) Post #A1RDaYYKmesafjdjaS by piggo@piggo.space
2020-11-21T23:24:11.480471Z
0 likes, 0 repeats
@matt @fribbledom windows simply loves its swap file
(DIR) Post #A1RDcfXpl7Jiw7PgUi by lanodan@queer.hacktivis.me
2020-11-21T23:24:42.842748Z
0 likes, 0 repeats
@fribbledom I disabled overcommitting here, which now makes glib sucks with OOM situations, luckily the glib-based programs I have can crash.
(DIR) Post #A1RE1TmYd2wnhA89yK by mansr@society.oftrolls.com
2020-11-21T23:29:11Z
0 likes, 0 repeats
@fribbledom OOM situations suck.
(DIR) Post #A1REGO6M21o8Q8V172 by fribbledom@mastodon.social
2020-11-21T23:31:51Z
0 likes, 0 repeats
@mansr Agreed yeah. Let me be more specific then:Linux sucks at dealing with 20% memory avail before OOM situations.
(DIR) Post #A1REQ1IjepREbPspnM by mansr@society.oftrolls.com
2020-11-21T23:33:37Z
0 likes, 0 repeats
@fribbledom You must be doing something weird. Are you hitting swap?
(DIR) Post #A1REW78AtbakQ7qjoW by fribbledom@mastodon.social
2020-11-21T23:34:43Z
0 likes, 0 repeats
@mansr Possibly, on all of my systems however. Swap or not doesn't matter. When I reach - pretty exactly - 80% RAM usage, my systems freeze for minutes, sometimes hours.
(DIR) Post #A1RF2tREpEDfVgOedk by mansr@society.oftrolls.com
2020-11-21T23:40:39Z
0 likes, 0 repeats
@fribbledom I have never had that problem. These days, I very rarely use that much of the RAM, though.
(DIR) Post #A1RGBaSWrIYPCvi4fI by fribbledom@mastodon.social
2020-11-21T23:48:33Z
0 likes, 0 repeats
Guess I'll have to upgrade to 96GB of RAM to keep browsing the web, eh? 🙄
(DIR) Post #A1RGBabkJ1vVfW1R20 by billblake2018@liberdon.com
2020-11-21T23:53:26Z
0 likes, 0 repeats
@fribbledom I'm using FreeBSD with 4G RAM and 10G swap. I did have to fiddle with firefox's configuration a little to keep its memory use down, but it works fine now that I have.
(DIR) Post #A1RGYbsljWRSHXxgBM by penguin42@mastodon.org.uk
2020-11-21T23:57:33Z
0 likes, 0 repeats
@fribbledom @mansr That's weird, I've also not seen that. The only similar thing I've had is with slow storage devices if you're writing a lot to them; you can fill all of your memory up with to-be-written data that you have to wait to be written; that actually gets worse with more RAM. If you have a shitty USB stick like that or similar, you can reduce the write limits.
(DIR) Post #A1RGchwR9CIYETdCAC by nawi@fedi.absturztau.be
2020-11-21T23:58:20.222679Z
0 likes, 0 repeats
@fribbledom Yeah, should be enough for :firefox: with 1 tab open.
(DIR) Post #A1RGm8Pi5siUwNoos4 by bamfic@hub.spaz.org
2020-11-21T23:59:04.548816Z
0 likes, 0 repeats
@penguin42 @fribbledom @mansr we have seen this problem at work.... on massive aws ec2 clusters running genome sequencing. linux dont like low mem situations
(DIR) Post #A1RGmDlADXqfWMtWVM by penguin42@mastodon.org.uk
2020-11-22T00:00:00Z
0 likes, 0 repeats
@bamfic @fribbledom @mansr Is it OOMing on you, or hanging?
(DIR) Post #A1RHvUyPgd8hT850AS by mansr@society.oftrolls.com
2020-11-22T00:12:56Z
0 likes, 0 repeats
@fribbledom How much do you have?
(DIR) Post #A1RJT01JNOc1GjyQE4 by bamfic@hub.spaz.org
2020-11-22T00:25:08.276296Z
0 likes, 0 repeats
@penguin42 @fribbledom @mansr yes
(DIR) Post #A1RJT0FqVMEpzom1se by penguin42@mastodon.org.uk
2020-11-22T00:30:11Z
0 likes, 0 repeats
@bamfic @fribbledom @mansr Sorry, I was trying to ask whether it (a) OOMs or (b) hangs - which one?
(DIR) Post #A1RJnwCWlqphVPChuq by fribbledom@mastodon.social
2020-11-22T00:33:58Z
0 likes, 0 repeats
@mansr 64GB.
(DIR) Post #A1RJxi4g9Ed4aYBzoe by carcinopithecus@x0r.be
2020-11-21T23:21:14Z
0 likes, 0 repeats
@fribbledom sucks compared to what? ::montage miscellaneous windows horror flashbacks::
(DIR) Post #A1RJxiIrIVyJIWpJuy by fribbledom@mastodon.social
2020-11-21T23:21:48Z
0 likes, 0 repeats
@carcinopithecus Compared to anything else that doesn't freeze for minutes when you reach 80% memory usage.
(DIR) Post #A1RJxiaaEc9MBV7TXs by vaartis@pl.kotobank.ch
2020-11-22T00:34:33.330651Z
0 likes, 0 repeats
@fribbledom @carcinopithecus I don't think there is such a thing, on desktop at least. I haven't seen one. I don't think windows even has an OOM killer. Don't know about macs but I had plenty of oom situations on windows which could only be practically resolved with a hard reset, linux at least kills the process off or you can trigger it manually with sysrq
(DIR) Post #A1ROsa9WfnkCLHplcu by waynedixon@mastodon.social
2020-11-21T23:58:47Z
0 likes, 0 repeats
@fribbledom you must be using chrome to need that much ram.
(DIR) Post #A1ROscVDw6HxdA07iy by fribbledom@mastodon.social
2020-11-22T00:35:12Z
1 likes, 0 repeats
@waynedixon Firefox, actually. Same issue with Chromium tho.
(DIR) Post #A1RYsVf0NHKRx3A7JA by Petra@social.wxcafe.net
2020-11-21T23:49:02Z
1 likes, 0 repeats
@fribbledom simply do not browse the web
(DIR) Post #A1RkL0lVQ5rW1dzoki by hinton@social.librem.one
2020-11-22T05:11:28Z
0 likes, 0 repeats
@fribbledom my Linux machine just today crashed due to its inability to handle OOM. How does windows handle it so seamlessly? Do they dynamically allocate more swap?
(DIR) Post #A1RkL0uMt8x2T88tZA by shironeko@fedi.tesaguri.club
2020-11-22T05:31:15.484123Z
0 likes, 0 repeats
@hinton @fribbledom I don't remember windows handling it nicely at all. but I haven't used one in ages, so idk.
(DIR) Post #A1RuqmvJPycZu7NFLs by benoit@toots.benpro.fr
2020-11-22T00:48:02Z
0 likes, 0 repeats
@fribbledom that's why there is earlyoom.https://github.com/rfjakob/earlyoom
(DIR) Post #A1RuqubOrtRlig7SQS by codewiz@mstdn.io
2020-11-22T07:29:02Z
0 likes, 0 repeats
@benoit @fribbledom earlyoom is enabled by default since #Fedora 32:https://fedoraproject.org/wiki/Changes/EnableEarlyoomI also have it on my #ArchLinux desktop.
(DIR) Post #A1RvV1AnrAu5gNnpke by codewiz@mstdn.io
2020-11-22T07:36:18Z
0 likes, 0 repeats
@benoit @fribbledom Ah! Apparently #systemd 247 will integrate oomd, an alternative to earlyoom developed by Facebook:https://www.phoronix.com/scan.php?page=news_item&px=Systemd-247-OOMD-AimI wonder if Fedora will migrate to it? Probably...
(DIR) Post #A1S0CLCleebE4vdRRo by sudoreboot@sunbeam.city
2020-11-22T06:32:31Z
1 likes, 0 repeats
@vaartis@fribbledom @carcinopithecusSupposedly it should kill off offending applications but I have never seen that happen anywhere, for anyone. Hard reset or a couple of hours of patience is the only way.
(DIR) Post #A1SdhuHvAA064n5XEm by nighthacker2003@mastodon.social
2020-11-22T15:48:25Z
1 likes, 0 repeats
@sudorebootI've always had Alt+Sysrq+F work, but never seen it triggered manualy, not even with earlyoom.@vaartis @fribbledom @carcinopithecus
(DIR) Post #A1SdhuXsCqlEsGYH6O by fribbledom@mastodon.social
2020-11-22T15:50:12Z
0 likes, 0 repeats
@nighthacker2003 Right, I tried that combo as well, but I guess at that point it's already too late: the system seems to actually try to kill "offending" processes, but it freezes in doing so.@sudoreboot @vaartis @carcinopithecus
(DIR) Post #A1SdhutUuS3fxKfXo8 by vaartis@pl.kotobank.ch
2020-11-22T15:50:34.057515Z
0 likes, 0 repeats
@fribbledom @nighthacker2003 @sudoreboot @carcinopithecus the reality is probably that the X server is hanging too and you need to switch to raw mode with sysrq+r, and THEN do sysrq+f. That worked out quite a few times for me, the X usually becomes very unresponsive under pressure.
(DIR) Post #A1SdyiPkYvOwAolV6e by fribbledom@mastodon.social
2020-11-22T15:52:17Z
1 likes, 0 repeats
@vaartis Thanks, I'll try that the next time I run into this situation!@nighthacker2003 @sudoreboot @carcinopithecus
(DIR) Post #A1SdyoRk8QYosjkB2u by vaartis@pl.kotobank.ch
2020-11-22T15:53:37.337474Z
0 likes, 0 repeats
@fribbledom @nighthacker2003 @sudoreboot @carcinopithecus actually apparently it switche from the raw mode, not very intuitively named: "Switch the keyboard from raw mode, used by programs such as X11 and SVGALib, to XLATE mode ". Nevertheless, the key is r.
(DIR) Post #A1Se2noeQAeE5JMSXo by nighthacker2003@mastodon.social
2020-11-22T15:55:22Z
1 likes, 0 repeats
@sudoreboot @vaartis @fribbledom @carcinopithecus*automatically
(DIR) Post #A1SsKdiy4xnFMB6Qls by bamfic@hub.spaz.org
2020-11-22T01:34:17.240839Z
0 likes, 0 repeats
@penguin42 @fribbledom @mansr both
(DIR) Post #A1SsKgj4v0fEfOB3rM by penguin42@mastodon.org.uk
2020-11-22T18:35:33Z
0 likes, 0 repeats
@bamfic @fribbledom @mansr On your EC2 cluster, have you got EBS block configured as swap? My understanding is they're quite slow and/or rate limited so they can stink for swap.
(DIR) Post #A1Stos8BBDUmgCsIvQ by midzer@chaos.social
2020-11-22T13:30:53Z
0 likes, 0 repeats
@fribbledom I don't know what you have open, but I have no issues multi-tab browsing the web even on my 4GB ancient laptop.In addition 1GB per tab is not true. When you check your browsers task manager, you will see each page needs max. 100MB (with mastodon using ~90MB right now)
(DIR) Post #A1StosPY8dOFY50B04 by fribbledom@mastodon.social
2020-11-22T13:40:43Z
0 likes, 0 repeats
@midzer No, of course 1GB per tab isn't true. Whoever it was that claimed that nonsense doesn't understand shared resources or memory management on computers all that well.The baseline of Firefox/Chromium is roughly 350MB, but how much each tab uses very heavily depends on the website it's displaying.
(DIR) Post #A1StoskorYP6c2xA9Y by mansr@society.oftrolls.com
2020-11-22T18:52:12Z
1 likes, 0 repeats
@fribbledom @midzer Over here Firefox currently has 13 processes with a total RSS of about 5.5 GB. That's with 37 tabs, not all of which have been loaded since I started it 2 days ago.
(DIR) Post #A1SubjrGj6LFDCGaEi by fribbledom@mastodon.social
2020-11-22T19:01:03Z
0 likes, 0 repeats
@mansr Yeah, sound fairly realistic & average for the current state of browsers.@midzer
(DIR) Post #A1Sucg8I3yQ5wmfzou by fribbledom@mastodon.social
2020-11-22T19:01:14Z
0 likes, 0 repeats
@mansr Yeah, sounds fairly realistic & average for the current state of browsers.@midzer
(DIR) Post #A1SyY5cuFYiZNq42CG by peteftw@mastodon.technology
2020-11-22T19:33:29Z
1 likes, 0 repeats
@charims @fribbledom and there's also oomd https://copr.fedorainfracloud.org/coprs/filbranden/oomd/