New answers tagged fork
You can use the /etc/security/limits.conf file to enforce resource usage restriction by users and groups. For example, the following configuration will restrict the number of simultaneous processes launched by user1 to 20 and the one launched by all users in group group1 to 50: user1 hard nproc 20 @group1 hard nproc 50 Read more: ...
ulimit is used to temporarily establish limits to the current shell and its sons. You can limit the number of process with ulimit -u $desired_number More info in man ulimit and ulimit -a
A TCP/IP connection has both a source port and a destination port, so if the same server connects to another server on port 3000 multiple times, the Linux kernel can sort out the connections because each one has a unique IP + source port + destination port. This can be seen with the output of netstat when there are active TCP connections, which shows both ...
Top 50 recent answers are included