question about kernel limits

Xiong Zhao (xz@gatekeeper.ncic.ac.cn)
Sat, 28 Apr 2001 19:36:47 +0800


hello. because i'm going to run lotus domino with large number of
concurrent users on linux, the kernel limits(of open file,processes,
inodes for the whole system,a single user and a process)is a key factor
to the performance. currently,the number of users cannot exceed 500 on 2.4.3.
i change the value of /proc/sys/fs/file-max and open files in ulimit
but it doesn't work. besides, what are the meaning of NR_OPEN,NR_FILE,
file-max,and OPEN_MAX. which do they effect on respectively, system, a
user, or a process. in limits.h,NR_OPEN is set to 1024,but in fs.h it is
defined as 1024*1024. what do they mean? in addition, i cannot find
inode-max under /proc/sys/fs, is it due to the change of the mechanism
of its allocation. what's the change? and last question, what are the
actual values of these limits, is there any way to increase the supported
number of users? it will be very kind of you if you can introduce me
some materials on linux kernel, especially on process management(pthread,
fork,clone and so on).
regards

james

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/