본문 바로가기

인프라

공부링크 process thread pid 관련

pid_max, thread-max, ulimit -u 차이 설명 

https://itectec.com/unixlinux/linux-understanding-the-differences-between-pid_max-ulimit-u-and-thread_max/

 

pid_max값을 초과하면 발생하는 문제점

  • PIDs are generated sequentially and before being assigned to a process a check is made to ensure a process doesn't currently have a particular PID. When pid_max is reached the counter simply wraps back to the beginning. If there are no more PIDs available then no more proceses can be created.

process와 thread 차이

https://shoark7.github.io/programming/knowledge/difference-between-process-and-thread

'인프라' 카테고리의 다른 글