Skip to main content

Questions tagged [sysctl]

For questions pertaining to sysctl, a utility used to read and modify, at runtime, the attributes of the system kernel such as its version number, maximum limits, and security settings. Use this tag for questions about sysctl itself or questions about issues arising from using the sysctl command-line utility.

Filter by
Sorted by
Tagged with
2 votes
1 answer
80 views

I am using OpenBSD 7.7. So I know that procfs is not mounted on /proc, and I need to use sysctl to fetch process maps. But this fails as I am not running as a root user. The secure level is set to 1 ...
well-mannered-goat's user avatar
0 votes
0 answers
151 views

On my Linux Yocto-base distribution I don't find any sysctl.conf file. The proof of this is the execution of the command: > find / -name "sysctl.conf" which has an output empty. On my ...
User051209's user avatar
1 vote
0 answers
119 views

I have a device that has Debian 11 installed, on which Docker is running.  On boot, it starts the Docker Daemon and the nine containers.  Eight of them are executing a C# program and the last one is a ...
Master DJon's user avatar
0 votes
1 answer
440 views

Although I have disabled IPv6 in sysctl.conf (Debian 11), connecting my main switch to an IPv6 enabled router results in IPv6 addresses being allocated on Debian interfaces and I can ping and SSH to ...
vfclists's user avatar
  • 7,919
0 votes
0 answers
844 views

I'm using EC2 instance t4g.micro which is arm64, with 1gb ram of the latest ubuntu. I'm using nginx with PHP-FPM for upload and convert pictures using latest image.intervention with GD. My PHP_FPM ...
user24198409's user avatar
0 votes
1 answer
223 views

I have wireguard installed on a Manjaro host, and Debian Server host The following commands show wireguard in the results on Manjaro, but nothing on the Debian server, yet the wireguard is definitely ...
Rachel1983's user avatar
0 votes
1 answer
159 views

I see on the web two different commands to load sysctl custom parameters: sysctl --system sysctl -p Is there any difference between the two commands? I know the second one I posted can take the path ...
matteo-g's user avatar
  • 103
0 votes
1 answer
247 views

For example, if I set oops=panic in grub command and I also set kernel.panic_on_oops=0 in sysctl config? ex: in /etc/sysctl.d/ What would happen? Are these two parameters mapping to the same function/...
Mark Kang's user avatar
  • 975
2 votes
0 answers
467 views

I have an app that open() a file under /dev/hugepages to allocate a huge page. For now, it requires root. How can I change the permissions? It's automatically mounted by F38 with: #/usr/lib/systemd/...
無名前's user avatar
  • 741
-1 votes
1 answer
758 views

we set the following kernel parameters in file 99-custom.conf more /etc/sysctl.d/99-custom.conf net.ipv4.tcp_low_latency = 1 net.ipv4.tcp_adv_win_scale = 1 net.ipv4.tcp_max_syn_backlog = 30000 net....
yael's user avatar
  • 14k
2 votes
1 answer
4k views

When I configure the vm.watermark_scale_factor property in /etc/sysctl.conf which is the property in charge of indicating to the kernel when the kswapd daemon starts to activate for paging from ram to ...
Todo-System Todo-System's user avatar
2 votes
1 answer
580 views

I cannot explain this, I will start by listing these speed test results this one is the linux host running mxlinux latest version this one is the windows 10 running inside vmware on the same computer ...
Fredou's user avatar
  • 131
0 votes
1 answer
278 views

For reducing the number of disk writes, what is the difference between using fstab to change the disk commit frequency and using sysctl for controlling when dirty data is written back to disk?
calvinjarrod's user avatar
26 votes
2 answers
11k views

After update to kernel 5.10.119, /proc/sys/kernel/random/entropy_avail became stuck to 256 and does not change when moving the mouse. It used to be greater than 3000. # cat /proc/sys/kernel/random/...
user528206's user avatar
4 votes
1 answer
556 views

Today I ran into some code that's writing a newline character explicitly into a sysctl file. See moby/docker source code. My first thought is that the author has diligently copied the shell's ...
Philip Couling's user avatar
2 votes
2 answers
1k views

I am benchmarking the write performance in the case that Linux writes the data to the page cache without throttling the process or syncing the data to the disk. The simple experiment I am doing looks ...
Gongotar's user avatar
0 votes
0 answers
1k views

I'm trying to set fs.nr_open via sysctl (for learning purpose) to different value, other than default 1048576 These are sysctl settings after system was booted: vud@ubuntu:~$ sudo sysctl -a | grep -E '...
vudex's user avatar
  • 1
1 vote
0 answers
196 views

I have this: Linux 3.10.0 #1 SMP Thu Apr 22 16:18:59 MSK 2021 x86_64 x86_64 x86_64 GNU/Linux Trying to set this in sysctl.conf net.core.wmem_max = 12874368 net.ipv4.tcp_rmem = 4096 42380 12874368 net....
KreonZZ's user avatar
  • 111
1 vote
1 answer
421 views

I tried disabling IPv6 using /etc/sysctl.conf and after a reboot I cannot get into any of the two DE that I have installed (I am using Pop! OS 20.04). Tried both Pop Desktop and KDE Plasma. The SSDM ...
ZeroVector's user avatar
0 votes
0 answers
369 views

I have a server with the following sysctl settings: net.ipv4.ip_local_port_range = 1024 65535 net.core.netdev_max_backlog = 65535 net.ipv4.tcp_max_syn_backlog = 50000 net.ipv4.tcp_max_tw_buckets = ...
Freedo's user avatar
  • 1,396
1 vote
1 answer
151 views

/etc/security/limits.conf looks like this #<domain> <type> <item> <value> # #* soft core 0 #* hard rss ...
yael's user avatar
  • 14k
2 votes
1 answer
519 views

The NOTES section of $ man 5 sysctl.conf states: The description of individual parameters can be found in the kernel documentation. But is there a way for me to find this kernel documentation offline? ...
Jethro Cao's user avatar
3 votes
2 answers
1k views

when we run the sysctl -p on our rhel 7.2 server1 we get sysctl -p fs.file-max = 500000 vm.swappiness = 10 vm.vfs_cache_pressure = 50 sysctl: cannot stat /proc/sys/pcie_aspm: No such file or directory ...
yael's user avatar
  • 14k
1 vote
1 answer
272 views

In /etc/sysctl.conf I have setting net.ipv6.conf.eth0.disable_ipv6=1. I can see after during init.d calling sysctl the value is set. Confirmed by reading sysctl net.ipv6.conf.eth0.disable_ipv6 to a ...
xirtam's user avatar
  • 11
0 votes
2 answers
3k views

When I used to copy a data over a thumb-drive, even if the writing speed can't exceed 2 MiB/s to the thumb-drive, Linux first copies 600 MB data to it in one second - it just writes to the RAM as ...
15 Volts's user avatar
  • 2,169