Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSockMemLimit ¶
func SetSockMemLimit(conf *coreconfig.Configuration, _ interface{}, _ *dynamicconfig.DynamicAgentConfiguration, emitter metrics.MetricEmitter, metaServer *metaserver.MetaServer)
SetSockMemLimit is the unified solution for tcpmem limitation. * it includes 3 parts: * 1, set the global tcpmem limitation by changing net.ipv4.tcp_mem. * 2, do nothing under cgroupv2. * 3, set the cgroup tcpmem limitation under cgroupv1.
Types ¶
type SockMemConfig ¶
type SockMemConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.