1. 查看系统信息
$ sysctl -a
kernel.msgmnb = 16384
kernel.msgmni = 16 #too small
kernel.msgmax = 8192
kernel.shmmni =
4096
kernel.shmall = 2097152
kernel.shmmax = 33554432
2. 修改系统参数
$ vim /etc/sysctl.conf
# 增加下面的行
kernel.msgmni = 200
3. sysctl生效
$ sysctl -p
阅读(2628) | 评论(0) | 转发(0) |