Kernel parameters on Solaris 10
The following kernel parameters are removed or commented out from /etc/system.
semsys:seminfo_semmap
semsys:seminfo_semmns
semsys:seminfo_semmnu
semsys:seminfo_semume
shmsys:shminfo_shmmin
shmsys:shminfo_shmseg
The following obsolete IPC tunables are replaced by their resource controls with the new default values:
semsys:seminfo_semmsl
semsys:seminfo_semmni
shmsys:shminfo_shmmax
shmsys:shminfo_shmmni
The default value for the resource control names related to above four IPC tunables on Solaris 10 are:
process.max-sem-nsems 512
project.max-sem-ids 128
project.max-shm-memory 1/4 of physical memory
project.max-shm-ids 128
The project.max-shm-memory resource control limits the total amount of shared memory of one project. Previously, the shmsys:shminfo_shmmax parameter limited the size of a single shared memory segment.
On systems that have zones enabled, zone-wide resource controls are specified in the zone configuration. See the rctladm(1m) man page for more information about available resource controls.
If you have problems creating and starting multiple Informix® servers on the same Solaris 10 host and you receive share memory create errors, try adjusting default project value of the project.max-shm-memory kernel parameter.
- Display the current value of project.max-shm-memory set to the project and system wide:
# prctl -n project.max-shm-memory -i project default
Informix is running under the default project.
- Display the values of all the resource controls for a specific Informix process:
# prctl <oninit pid>
- Change the setting for project.max-shm-memory to 64 GB for the project default without a system reboot:
# prctl -n project.max-shm-memory -r -v 64gb -i project default
An alternative is to use the projmod command to modify the attribute value for project.max-shm-memory in /etc/project, a local source of project information file:
# projmod -a -K 'project.max-shm-memory=(priv,64GB,deny)' default
'UNIX > SUN' 카테고리의 다른 글
[스크랩] prctl 명령 사용 (기본 리소스 제어값) (0) | 2014.09.18 |
---|---|
[스크랩] Kernel Tunning 방법, IPC Parameter 정리 (0) | 2014.09.18 |
[스크랩] 솔라리스 IOPS 확인 (0) | 2014.07.25 |
[스크랩] 솔라리스 정보 확인 최종본 (0) | 2014.07.25 |
[스크랩] 솔라리스10 u10 기본 설정 - 윈디하나의 솔라나라 (0) | 2014.06.19 |