如果你用firebird应该看看它的doc/linux
当上站人数太多比如超过100的时候Linux的机器缺省的内核配置
就不行了.主要是文件打开数太小.解决办法如下:
Because your BBS might be heavily accessed, it is wise to modify your kernel
so that it becomes more robust. If your concurrent online users exceed 100,
please perform the following steps:
1. Edit /usr/src/linux/include/linux/fs.h
Increase NR_OPEN from 256 to 1024
Increase NR_FILE from 1024 to 8192
Increase NR_INODE from 3072 to 24576
2. Edit /usr/src/linux/include/linux/tasks.h
Change NR_TASKS from 512 to 2048
Change MAX_TASKS_PER_USER from (NR_TASKS/2) to (NR_TASKS/8)
Change MIN_TASKS_LEFT_FOR_ROOT from 4 to 16
3. Recompile and install the new kernel and restart the machine
【 在 iamaboy (文子) 的大作中提到: 】
: 文件系统出什么毛病了?
--
FROM bbs.huizhou.gd.