You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/osdiag
Aaron Klotz 6b6a8cf843 util/osdiag: add query for Windows page file configuration and status
It's very common for OOM crashes on Windows to be caused by lack of page
file space (the NT kernel does not overcommit). Since Windows automatically
manages page file space by default, unless the machine is out of disk space,
this is typically caused by manual page file configurations that are too
small.

This patch obtains the current page file size, the amount of free page file
space, and also determines whether the page file is automatically or manually
managed.

Fixes #9090

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
10 months ago
..
internal/wsc util/osdiag, util/osdiag/internal/wsc: add code to probe the Windows Security Center for installed software 10 months ago
mksyscall.go util/osdiag: add query for Windows page file configuration and status 10 months ago
osdiag.go go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 11 months ago
osdiag_notwindows.go go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 11 months ago
osdiag_windows.go util/osdiag: add query for Windows page file configuration and status 10 months ago
osdiag_windows_test.go all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 10 months ago
zsyscall_windows.go util/osdiag: add query for Windows page file configuration and status 10 months ago