Difference between revisions of "Sysctl (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 38: Line 38:
 
* <code>[[sysctl]] fs.file-max</code>
 
* <code>[[sysctl]] fs.file-max</code>
 
* [[K8s 1.21]] (April 2021) added support for sysctl
 
* [[K8s 1.21]] (April 2021) added support for sysctl
 +
* [[Redis values.yml]]: sysctl.enabled: false
  
 
== See also ==
 
== See also ==

Revision as of 07:06, 10 March 2023



KVM VNC remote viewer

iptables -t nat -A PREROUTING -i eno1 -p tcp --dport 5900 -j DNAT --to 127.0.0.1:5900
sysctl -w net.ipv4.ip_forward=1
sysctl -p /etc/sysctl.conf


sysctl -w kernel.perf_event_paranoid=X (node exporter [1])



  • sysctl -q net.ipv4.conf.all.src_valid_mark=1
sysctl -w vm.max_map_count=262144


sysctl -w fs.file-max=100000

Related terms

See also

  • https://github.com/prometheus/node_exporter
  • https://github.com/moby/moby/pull/37701
  • Advertising: