0

Referring to this question maximum-number-of-processes-in-linux

I under stand that kernel.pid_max affects the maximum value for PID and max user processes in /etc/security/limits.conf file affects total number of processes for each user.

so if this is the right information, if for example pid_max is 10 and max user process is 30609. I think that Kernel will limit no of processes to 10 because there is no more available PIDs.

NOTE : the example is for understanding only

Community
  • 1
  • 1
Mahmoud Emam
  • 1,499
  • 4
  • 20
  • 37

1 Answers1

1

Yes, but threads may also count as processes, so it's really an upper limit.

ch2500
  • 240
  • 1
  • 5
  • You mean that each process still have capability to start 30609 threads. If so this number representing max number of process per user and maximum number of threads per process – Mahmoud Emam Jul 30 '14 at 21:33
  • Sorry I don't understand you, do you mean kernel.threads-max? – Mahmoud Emam Jul 30 '14 at 21:35