上周,一分行管理员每天早上都要做一次Domino目录数据库的恢复操作。当时的情景是:
Names.nsf的容量〉1GB
用户登录时,收到提示:you are not authorized to use the server
Domino日志:($User)视图错误,或 B-Tree Structure is invalid。
刚开始时,只是简单的将Names.nsf数据库从备份中恢复。但次日,故障再现。
沟通后,得知其在AIX上安装Domino时,对Data目录所在的文件系统设置了最大1GB的限额。
修改 /etc/security/limits 配置文件的default段落中fsize参数,设置 fsize=8388604 之后,重启系统,故障消失。
附加信息 —— 配置参数说明
* Sizes are in multiples of 512 byte blocks, CPU time is in seconds
*
* fsize - soft file size in blocks
* core - soft core file size in blocks
* cpu - soft per process CPU time limit in seconds
* data - soft data segment size in blocks
* stack - soft stack segment size in blocks
* rss - soft real memory usage in blocks
* nofiles - soft file descriptor limit
* fsize_hard - hard file size in blocks
* core_hard - hard core file size in blocks
* cpu_hard - hard per process CPU time limit in seconds
* data_hard - hard data segment size in blocks
* stack_hard - hard stack segment size in blocks
* rss_hard - hard real memory usage in blocks
* nofiles_hard - hard file descriptor limit
*