Limiting the usage of a resource (memory, disk space, CPU time, open files, network bandwidth, …) by a process or a group of processes.
2
votes
0answers
70 views
Can I limit the number of inotify watches available to a process or cgroup?
I am consistently running out of inotify resources, leading to errors along the lines of:
# tail -f /some/files
tail: inotify resources exhausted
tail: inotify cannot be used, reverting to polling
...
0
votes
0answers
31 views
Problem limiting the resources of a process
I want to limit the memory and cpu a process can use, because it is overloading my PC.
I open a terminal, run ulimit -v 4192000, run the process, open another terminal and run cpulimit -p ...
0
votes
0answers
213 views
Permanently change per-process stack size
When I use ulimit -s to change the per-process stack size, it only lasts for that login; if I restart the setting is lost. How can I permanently change the maximum stack size on my system?