Questions tagged [limits]

82 questions
0
votes
1 answer

Is it possible to limit OpenSSH maximum number of clients?

I am trying to limit the number of total OpenSSH connections to our Unix systems. At first, I have tried modifying OpenSSH configuration with MaxSessions and MaxStartups options but with no success. They are ignored (maybe I don't really understand…
Ciges
  • 131
  • 6
0
votes
1 answer

What is the command line to backup my /var/www/html files?

what is the best command line to backup my files ? tar -czf /backup/backup.tar.gz /var/www/html or tar -czvf /backup/backup.tar.gz /var/www/html and what are the difrences between this to ? P.S. # tar -czf /backup/backup.tar.gz /var/www/html tar:…
Jack Duldi
  • 19
  • 9
-1
votes
1 answer

Can iptables automatically drop established session after certain seconds?

Can iptables drop automatically an established output session after certain seconds e.g. 30 sec. since its launch? But I want to restrict it only for destination port 80 and 443. The purpose is to drop unused established tcp connections belonging to…
-1
votes
1 answer

limit filesystem cache size for specific files under linux

I have a directory with many files with high access rate. And I need to reduce the cache pressure of this specific directory to prevent other files (like my home directory files) from the pushing out from the filesystem cache. Can I limit…
s9gf4ult
  • 101
  • 2
-2
votes
1 answer

Limiting traffic in network

Can I limit bandwidth for every client or vlan in my network ? The purpose is to prevent downloading managers from taking all the bandwidth and cause other computers to have a very slow Internet speed.
Ammar Lakis
  • 176
  • 1
  • 1
  • 9
-3
votes
1 answer

How much is too much (processes, threads)

I wonder if I have too much processes and if systemd is getting overloaded. When I run ps aux | wc -l O get "840" If I run ps -e H | wc -l I have around 5k (5128 to be exact), substracting the process count, this makes around 4288 threads. Is this…
-5
votes
1 answer

How much memory will this PHP Script need?

I'm trying to use a WordPress Plugin to backup my database and files but it keeps running out of memory. How much memory will this script need to finish and how much should I ask for from my hosting provider? Here is the log output: (the script has…
1 2 3 4 5
6