Root Access

For all you Super Users out there. You have backups, right?
Bob
Nov 3 9:17 PM
the day and the half of one were when geek's bot and then he noticed
Bob
Nov 3 9:16 PM
I think my last server backups might be approaching a year
Bob
Nov 3 9:16 PM
that's more up to date than mine
Bob
Nov 3 9:16 PM
a day, and half of one, yes
Bob
Nov 3 9:15 PM
how old are those backups? :D
Bob
Nov 3 9:14 PM
@bertieb ah. wasn't entirely sure since, y'know, you weren't going to respond in there :D
Bob
Nov 3 9:14 PM
haven't heard that boing noise in a while
Bob
Nov 3 8:55 PM
@bertieb so uh, your matrix server seems to not be having a good time
Bob
Jul 11 1:27 AM
or a more humorous take? monkeyuser.com/2017/http-status-codes
Bob
Jul 11 1:27 AM
Bob
May 6 6:12 PM
They seem to think 23.10.2 is a good version. Maybe.
Bob
May 6 5:57 PM
@MarkoBonaci You might find ^ interesting
Bob
May 6 5:57 PM
!!!
Bob
May 6 5:57 PM
8
Q: How to identify a driver causing every exited process to become a zombie, polluting page table and active unused memory?

SopelI have a pretty new Windows 11 Pro installation, it has about a week. I noticed that my RAM usage is constantly going up. It was concerned because procexp readouts did not match the total used RAM value that's reported, with the difference factor of 4 or more. I checked RAMMap and I found that pr...

Bob
May 6 5:54 PM
...this seems to be a long-running issue?
Bob
May 6 5:53 PM
@MarkoBonaci If that does fix it, I'd suggest you create a self-answered question so we have this available on SU :) Link it here, I'll upvote it
Bob
May 6 5:52 PM
(all of which should be completely fine, absent ... this bug)
Bob
May 6 5:52 PM
And possibly keeping your computer running for longer periods of time
Bob
May 6 5:51 PM
If that is the case, then you only happen to be suffering more from it because docker (and/or vscode) constantly opens/closes a lot of processes
Bob
May 6 5:50 PM
That is ... an incredibly nasty driver bug
Bob
May 6 5:50 PM
> What I found was that if the iGPU driver is enabled, it will prevent windows from properly exiting from ANY process, and thus the page table slowly gets filled up and fragmented.
Bob
May 6 5:49 PM
If you'd like, you could try to use poolmon to confirm the same thing for yourself
Bob
May 6 5:49 PM
@MarkoBonaci Someone in that thread linked to an AMD thread => community.amd.com/t5/drivers-software/memory-leak-on-zen4/td-p/… which uses poolmon => learn.microsoft.com/en-us/windows-hardware/drivers/devtest/…
Bob
May 6 5:48 PM
It never even occurred to me that kernel-mode drivers can hold process objects open in the same way
Bob
May 6 5:47 PM
@MarkoBonaci Huh. Good find! It does look a lot like yours.
Bob
May 6 5:46 PM
@MarkoBonaci That number seems to have gone up by 3k since the last check
Bob
May 6 5:43 PM
This is incredibly odd...
Bob
May 6 5:40 PM
@MarkoBonaci Could you confirm those 200k+ zombies are still there?
Bob
May 6 5:34 PM
so if you do a full wsl --shutdown as luke said, you still have those handles floating around?
Bob
May 6 5:33 PM
right, so just the Ubuntu system is still running from the looks of it
Bob
May 6 5:33 PM
It has to be something that's calling docker that's holding them. It could be some other docker component but removing docker isn't a great test because then the caller would fail just because docker's gone?
Bob
May 6 5:32 PM
@MarkoBonaci I would expect this to not occur then, but obviously you expect/need to use docker!
Bob
May 6 5:31 PM
@MarkoBonaci try a --list --verbose?
Bob
May 6 5:30 PM
Bob
May 6 5:29 PM
e.g. I'd expect you to see something like this in FZH
Bob
May 6 5:28 PM
ideally FindZombieHandles should've told you straight up, not entirely sure why it doesn't for you
Bob
May 6 5:28 PM
which will at least let you identify which process is launching or holding these
Bob
May 6 5:28 PM
well, if WSL is definitely stopped and you still see those processes floating around in RAMMap (with the associated high page table usage) - my next suggestion is you close individual applications and check counts every time
Bob
May 6 5:26 PM
oh hey luke
Bob
May 6 5:26 PM
(I still prefer/use WSL1 so I honestly don't know how WSL2 handles this)
Bob
May 6 5:25 PM
@MarkoBonaci how do you terminate it?
Bob
May 6 5:23 PM
could you run ps -e in WSL and see what's still active?
Bob
May 6 5:23 PM
which would not count as memory used in WSL
Bob
May 6 5:23 PM
@MarkoBonaci my suspicion is that something within WSL is launching Win32 processes and not closing them off properly
Bob
May 6 5:15 PM
I wonder if I can kick the bot
Bob
May 6 5:15 PM
...goddammit
 
Bob
Jun 6 12:31 PM
@Harper-ReinstateMonica Thanks - I'll just chalk it up to the different systems we must have had experience with. I will say that (in cold weather and with an insufficient gas supply to multiple dwellings/heaters) sometimes the flow can get very restricted - down to almost a trickle, in spurts. End result is still rather miserable!
Bob
Jun 6 12:31 PM
@JoL I'm surprised because this answer made the quite strong (bolded, even) claim that electric tankless heaters cannot control flow, and instead must suffer a loss of temperature if overloaded. So either electric tankless heaters are not capable of the same flow control valves my gas tankless has, or it's just not a common feature of electric tankless, or the assertion is not quite correct.
Bob
Jun 6 12:31 PM
> There is no halfway - if you do not have enough electricity, the flow continues anyway, and you get tepid water. Is that how tankless electric works? We use tankless gas and it does restrict flow to maintain temperature. I'm surprised electric doesn't work the same way?