Skip to main content

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.

1 vote
1 answer
95 views

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-...
drjeep's user avatar
  • 125
12 votes
4 answers
2k views

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 ...
Ole Tange's user avatar
  • 37.6k
3 votes
2 answers
820 views

Here is extension of the question: How do I limit the number of files printed by ls? with additional condition: how to print results in as many columns as fit to the current terminal width — as ls ...
Anton Samokat's user avatar
0 votes
1 answer
153 views

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)" ...
Bart Vandewoestyne's user avatar
0 votes
1 answer
828 views

I was playing around with a server I set up myself, running archlinux, and when I tried to retrieve files from it, using scp or rsync, I noticed the download speed was abnormally low, being capped at ...
Mayeul Lnr's user avatar
2 votes
1 answer
264 views

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 ...
VagrantPaladin's user avatar
1 vote
0 answers
214 views

I have a process which is part of standalone, non-service executable. The process in question spawns thousands of co-processes under a single binary. I'd like to limit the memory usage of processes ...
tuskiomi's user avatar
  • 127
0 votes
1 answer
313 views

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 ...
Jomo's user avatar
  • 1
2 votes
1 answer
445 views

I would like to enforce certain write limits on my disk partitions. I would like to limit the amount of data application can write on a given disk partition on hourly, daily or weekly basis. Is there ...
Virat Manvar's user avatar
0 votes
0 answers
307 views

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 ...
Rewbert's user avatar
  • 131
1 vote
0 answers
146 views

Cgroups v2 is enabled in almalinux 9.1 with kernel 5.14.0-70.22.1.el9_0.x86_64 and systemd 250 (250-12.el9_1.3). Content of /etc/systemd/system/user-1002.slice.d/override.conf: [Unit] Description=User ...
jay's user avatar
  • 41
1 vote
1 answer
597 views

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 ...
Eli's user avatar
  • 11
0 votes
0 answers
646 views

I am using grep with the -f option and I run into an issue when the pattern file given with -f is very long. The one that is failing for me has almost 300 thousand lines and 40 MBytes. grep does not ...
Frigo's user avatar
  • 232
4 votes
1 answer
633 views

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....
mamcx's user avatar
  • 141
0 votes
1 answer
2k views

I am trying to determine the total number of concurrent sessions on a server to determine a good number for the maxlogins option in /etc/security/limits.conf. How is the number of sessions calculated ...
Natolio's user avatar
  • 1,332

15 30 50 per page
1
2 3 4 5
18