Questions tagged [limit]
Limiting the usage of a resource (memory, disk space, CPU time, open files, network bandwidth, …) by a process or a group of processes.
258 questions
1 vote
1 answer
91 views
PAM maxlogins limit not working
Since upgrading from CentOS 7 to Rocky Linux 8 our PAM maxlogins limit is no longer being enforced for SFTP sessions. SFTP users belong to the sftp group and we have this in /etc/security/limits.d/10-...
12 votes
4 answers
2k views
Limit file IO speed
I am looking for a command similar to ionice and trickle and pv -L and tc - but which puts limits on IO to files. ionice looks at block devices on the local machine. I want this to work for file I/O ...
0 votes
1 answer
130 views
Piped dd command limits its output to 65536 bytes, why?
My colleague and I are both using a Docker container running Ubuntu 22.04.4 LTS (Jammy Jellyfish): root@c2155d7af4a4:/# grep VERSION= /etc/os-release VERSION="22.04.4 LTS (Jammy Jellyfish)" ...
2 votes
1 answer
248 views
How to prevent relayd on OpenBSD from using all memory
I have an OpenBSD "firewall" with relayd, where relayd starts to consume all available memory to the point that the system becomes completely non responsive. This happens when a user starts ...
0 votes
1 answer
293 views
Limit CPU usage of background process if system is busy
At the moment I do the following: When I see that the system load of my Ubuntu server is high, I get the PIDs of specific currently running background processes and start cpulimit with the PID. When ...
0 votes
0 answers
294 views
Performance limits of file I/O vs Unix pipes on multicore systems
I am running some benchmarks where I have a program that performs some file IO. It creates a fresh directory, writes and reads some files to that directory, and then deletes it. When I run this ...
1 vote
1 answer
594 views
How to limit the concurrent GUI login, but allow multiple SSH login?
On an Ubuntu desktop, contains several accounts, I want to limit the GUI login number. At anytime, there should be only one account can login by using local GUI. (The first account must logout before ...
4 votes
1 answer
622 views
How limit CPU/Ram on a system service on nixos?
My metabase service is eating all the resources on my machine, and while found a solution I need a way to limit the usage the resources. How can I configure it on nixos? ❯ nixos-version 22.05.2123....