Hello,
Today I checked the Informix shared memory by
onstat -g seg on Informix 14.10FC6X3
informix [rs-om-ifx-201] on_nebula21 $ onstat -g seg
IBM Informix Dynamic Server Version 14.10.FC6X3 -- On-Line -- Up 16:43:49 -- 10327040 Kbytes
2021-09-03 15:36:42
Segment Summary:
id key addr size ovhd class blkused blkfree
13 52ae4801 10a000000 738197504 9092392 R* 173528 6696
14 52ae4802 136000000 2080374784 24381192 V* 488869 19035
15 52ae4803 1b2000000 3422552064 1 B* 835584 0
16 52ae4804 27e000000 33554432 1 B* 8192 0
17 52ae4805 280000000 5242880 62856 M 1070 210
18 52ae4806 281000000 1073741824 12584664 V* 3076 259068
19 52ae4807 2c1000000 1073741824 12584664 V* 3078 259066
20 52ae4808 301000000 1073741824 12584664 V* 3077 259067
21 52ae4809 341000000 1073741824 12584664 V* 3073 259071
Total: - - 10574888960 - - 1519547 1062213
Total Virtual segment size = 6375342080in ONCONFIG FILE SHMVERSIZE value is as below:
RESIDENT -1
SHMBASE 0x10A000000L
SHMVIRTSIZE 2000000SHMADD 1048576
EXTSHMADD 8192
SHMTOTAL 0SHMVIRT_ALLOCSEG 0,3
SHMNOACCESS
MAX_PDQPRIORITY 100
DS_MAX_QUERIES
DS_TOTAL_MEMORY 2000000DS_MAX_SCANS 1048576
DS_NONPDQ_QUERY_MEM 256
DATASKIP ALL
So Can I change the SMVIRTSIZE parameter by 6375342 KB n ONCONFIG file, so it will be equal to all Virtual segment size.
and DS_TOTAL_MENORY do I need to change 90% of SHMVIRTSIZE?
if SHMVIRTSIZE, I change to 6375342 so DS_TOTAL_MEMORY should be around 318767 or don't need to change anything?
SHMTOTAL is 0 (Measn can use full system memory) , So no need to change SHMTOTAL , only SHMVIRTSIZE.
Am I correct dears?
Thanks
Amit Patel
------------------------------
AMIT PATEL
------------------------------
#Informix