Re: number of processed and file descriptors



prat78 wrote:

what is the maximum number of processes Linux 2.6 kernel can handle.

(1) write a program and find out. (Hint: fork(2), getpid(2))

What is the maximum number of file descriptors that can be open ?

(2) google (with an appropriate search).

What are the conditions that impose these these restrictions.

Think about the value returned by (1) in particular for the limit of the number of processes. Consider how a file handle would be stored by the kernel for (2)

.