2001-04-28 11:36:38

by Xiong Zhao

[permalink] [raw]
Subject: question about kernel limits

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