mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
increase default conntrack buffer size
The figure is based on our experience of running scope probes in production systems. Below this we see a lot of "conntrack stderr:WARNING: We have hit ENOBUFS! We are losing events."
This commit is contained in:
@@ -288,7 +288,7 @@ func setupFlags(flags *flags) {
|
||||
|
||||
// Proc & endpoint
|
||||
flag.BoolVar(&flags.probe.useConntrack, "probe.conntrack", true, "also use conntrack to track connections")
|
||||
flag.IntVar(&flags.probe.conntrackBufferSize, "probe.conntrack.buffersize", 208*1024, "conntrack buffer size")
|
||||
flag.IntVar(&flags.probe.conntrackBufferSize, "probe.conntrack.buffersize", 4096*1024, "conntrack buffer size")
|
||||
flag.BoolVar(&flags.probe.spyProcs, "probe.proc.spy", true, "associate endpoints with processes (needs root)")
|
||||
flag.StringVar(&flags.probe.procRoot, "probe.proc.root", "/proc", "location of the proc filesystem")
|
||||
flag.BoolVar(&flags.probe.procEnabled, "probe.processes", true, "produce process topology & include procspied connections")
|
||||
|
||||
Reference in New Issue
Block a user