Skip to content

Commit

Permalink
bugtool: Capture memory fragmentation info from /proc
Browse files Browse the repository at this point in the history
This information can be useful to understand why memory allocation in
the kernel may fail (ex. for maps or for XFRM). I've checked that these
two files are accessible from a typical cilium-agent deployment (on
GKE).

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
  • Loading branch information
pchaigno authored and tklauser committed Mar 5, 2024
1 parent 68e504b commit 1c3a17f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bugtool/cmd/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ func catCommands() []string {
files := []string{
"/proc/sys/net/core/bpf_jit_enable",
"/proc/kallsyms",
"/proc/buddyinfo",
"/proc/pagetypeinfo",
"/etc/resolv.conf",
"/var/log/docker.log",
"/var/log/daemon.log",
Expand Down

0 comments on commit 1c3a17f

Please sign in to comment.