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
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>
9 months ago
..
cibuild all: update copyright and license headers 1 year ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 1 year ago
cloudenv all: update copyright and license headers 1 year ago
cmpver all: update copyright and license headers 1 year ago
cmpx all: update exp/slices and fix call sites 10 months ago
codegen util/codegen: support embedded fields 1 year ago
cstruct all: update copyright and license headers 1 year ago
deephash util/deephash: relax an annoyingly needy test 10 months ago
dirwalk all: use tstest.Replace more 1 year ago
dnsname cmd/tailscale: extend hostname validation (#7678) 1 year ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 11 months ago
groupmember all: update copyright and license headers 1 year ago
hashx all: update copyright and license headers 1 year ago
httpm all: update copyright and license headers 1 year ago
jsonutil all: update copyright and license headers 1 year ago
lineread all: update copyright and license headers 1 year ago
linuxfw util/linuxfw: fix typo in unexported doc comment 10 months ago
lru util/lru: add a package for a typed LRU cache 11 months ago
mak various: add golangci-lint, fix issues (#7905) 1 year ago
multierr all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 10 months ago
must all: update copyright and license headers 1 year ago
osdiag util/osdiag: add query for Windows page file configuration and status 9 months ago
osshare all: update copyright and license headers 1 year ago
pidowner all: update copyright and license headers 1 year ago
precompress all: update copyright and license headers 1 year ago
quarantine all: update copyright and license headers 1 year ago
racebuild all: update copyright and license headers 1 year ago
ringbuffer util/ringbuffer: move generic ringbuffer from corp repo 1 year ago
set all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 10 months ago
singleflight all: update copyright and license headers 1 year ago
slicesx all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 10 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 1 year ago
systemd all: update copyright and license headers 1 year ago
testenv util/testenv: add new package to hold InTest 10 months ago
truncate util: add truncate package (#7490) 1 year ago
uniq all: update copyright and license headers 1 year ago
vizerror util/vizerror: add As function to get wrapped Error 1 year ago
winutil util/winutil: add RegisterForRestart, allowing programs to indicate their preferences to the Windows restart manager 9 months ago