sysctl Questions
3
Solved
I have a playbook with several tasks setting values to sysctl. Instead of having a task for each setting, how can I set all the values with one task, using the sysctl module?
Playbook snippet:
-...
3
I'm setting up kubernetes cluster with ansible. I get the following error when trying to enable kernel IP routing:
Failed to reload sysctl: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-...
Sarcenet asked 6/1, 2019 at 7:53
3
Solved
I'm trying to make my first dockerfile(I'm new to this), and I need the system to run the command sysctl -w kernel.randomize_va_space=0 (its an lab env.), but I get the error:
sysctl: setting ke...
5
The command 'sysctl' in linux as of now changes the congestion control algorithm globally for the entire system. But congestion control, where the TCP window size and other similar parameters are v...
Incoherent asked 14/1, 2011 at 7:41
0
I have a GKE cluster where all of my nodes get the following events constantly:
LAST SEEN TYPE REASON OBJECT MESSAGE
29m Warning NodeSysctlChange node/node-pool-5e40a405-u87f
25m Warning NodeSysctl...
Ubiety asked 28/10, 2021 at 11:20
1
I'm trying to set net.core.rmem_max=26214400 on a container
I have this docker-compose
develop:
sysctls:
- net.core.rmem_max=26214400
image: centos6
but when I do
docker-compose up -d deve...
Rident asked 1/3, 2019 at 17:51
2
Solved
On a fresh Ubuntu 16.04 EC2 instance the warnings appear like so:
WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_m...
Tammeratammi asked 17/12, 2016 at 22:4
7
Solved
I am trying to change net.core.somaxconn for docker container to be able to have larger queue of requests for my web application.
On OS, outside docker, I first modify the property successfully:
...
Hollishollister asked 3/10, 2014 at 10:9
2
How to get maximum TCP Receive/Send window in MAC OS X?
There are two ctl in Linux.
/proc/sys/net/core/rmem_max - Maximum TCP Receive Window (NET_CORE_RMEM_MAX)
/proc/sys/net/core/wmem_max - Maxim...
0
I'd like add the number of mapped memory regions to the status report of my daemon.
There's a number of reasons why you may want this:
There's a limit for that (vm.max_map_count) so it's good t...
1
Solved
$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport %p %s %c %d %P
What does '|' mean in file /proc/sys/kernel/core_pattern?
Drews asked 12/12, 2017 at 4:7
1
I need to enable Core Dump File creation for processes which terminated by SIGABRT,SIGBUS, etс..
In previous versions of MAC OS X (include ElCapitan) to enable Code Dumps file for all processes i'...
Precipitation asked 4/10, 2016 at 12:44
1
Solved
Nginx is acting as a reverse proxy for adserver, receiving 20k requests per minute. Response happens within 100ms from the adserver to the nginx
Running on a Virtual Machine with configuration as...
Celt asked 14/4, 2017 at 14:31
1
Following WWDC 2015 session "703 Privacy and Your App", there is changes using sysctl. And now there we will no longer be able to call kern.proc, kern.procargs, kern.procargs2 and see data from any...
Williamson asked 24/8, 2015 at 13:24
2
Solved
Does anyone know where I can find a parameters list of sysctl for the linux kernel and its explanation?
I've searched for it and have found nothing. I looked in the kernel headers too with t...
1
Solved
I tried setting Linux kernel. After editing /etc/sysctl.conf and executing the sysctl -p
it shows error
Invalid argument" setting key "net.core.somaxconn"
Linux distribution: Ubuntu...
Perilymph asked 26/5, 2014 at 3:46
2
Solved
Need to "calculate" optimum ulimit and fs.file-max values according to my own server needs
Need to "calculate" optimum ulimit and fs.file-max values according to my own server needs.
Please do not conflict with "how to set those limits in various Linux distros" questions.
I am asking:
...
Szombathely asked 30/5, 2011 at 20:37
2
Solved
I would like to disable address space layout randomization (ASLR) on my system (Ubuntu Gnu/Linux 2.6.32-41-server), but, if I use
sysctl -w kernel.randomize_va_space=0
the change would affect al...
Protasis asked 28/6, 2012 at 5:17
1
I have currently implemented a simple activity monitor to watch all running processes on iOS.
To retrieve a list of all running processes, I do this:
size_t size;
struct kinfo_proc *procs = NULL...
1
Is there a way to get cpu usage for each process using sysctl() ?
I'm trying to find a way to detect the launch of a specific application. It seems there's no way to get foreground running app in...
Narayan asked 15/10, 2012 at 4:45
2
I'm working on a somewhat unusual application where 10k clients are precisely timed to all try to submit data at once, every 3 mins or so. This 'ab' command fairly accurately simulates one barrage ...
Venosity asked 18/8, 2012 at 22:49
2
I've been using Ubuntu 11.10 for a little over a week now. But after some time I encountered this error(the one in the title) when Im trying to access the log in my RoR project. I found a fix which...
Murdocca asked 29/3, 2012 at 23:51
2
Solved
I tried to install PostgreSQL 9.1.2 for Mac OS X 10.6 and it asked me to edit the sysctl.conf file inside the /etc/ directory, so it could use more of the shared memory PostgreSQL was asking for.
...
Teeth asked 12/2, 2012 at 10:31
8
Solved
I am working on an app that monitors network usage. However I noticed many ways to do this does not allow exclusion of local traffic (say, Time Machine).
I am looking for a way to exclude local tr...
Eldoneldora asked 25/11, 2010 at 23:31
1
Solved
I am in need of a way to retrieve all running processes for all users on a Mac (using Cocoa). I found an implementation to retrieve the process using sysctl, but I also need the running user. This ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.