How many children can a process have?

Việt Quân

New member
How many children can a process have?
Answer
2 Answers. The number of child processes can be limited with setrlimit(2) using RLIMIT_NPROC . Notice that fork(2) can fail for several reasons. You could use bash builtin ulimit to set that limit.
 

Tìm kiếm

Back
Top