引用:
最初由 andysun 发布
[B]我这里/etc/system里面设了:
set shmsys:shminfo_shmmax=64000000
我想设为64G,可是重起后,共享内存没有变化呀?
......
8388608 max shared memory segment size (SHMMAX)
[/B]
Oh,you have made a mistake.That's rings a bell. System V Shared Memory tunable "shmsys:shminfo_shmmax" parameter using the unit of "[B]byte[/B]".64000000 there really represent the value of 64M, not 64G. 8388608 is the default value of shmsys:shminfo_shmmax. In fact , your setting really not take effort
So, check your /var/adm/message to see if there are some log info record there relate to kernel setting.