Amit:
Casey's right, it looks like most of the memory allocated is unused. I had missed that.
Here's what I think happened. As I said Solaris is VERY SLOW to allocate shared memory, so when a session needed more memory the engine requested another 3GB segment. It took so long that another session wanted more memory before the segment was completed which just slowed the process even more, and another session, and another, etc. until 500GB had been allocated.
What you can try is to increase SHMVIRTSIZE by 6 to 12 GB up from 32GB to say 44 GB and see how that goes. If it is not enough and the engine is still adding segments, then bump it again until that stops happening.
The only way to stop the engine from creating new shared memory segments altogether would be to cap the maximum allocation with the SHMTOTAL parameter. But I don't think that is needed.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------
Original Message:
Sent: Mon February 14, 2022 10:54 PM
From: AMIT PATEL
Subject: Memory issue on Informix primary server
Thanks Art,
But total of virtual segment is 518617300992 Bytes means (518 GB) , which looks much to replace with current total shared memory.
SHMVIRTSIZE 31457280 (31GB) and as per "onstat -g osi" system memory is System memory 781568 MB.
So is there any other resource we can change Art?
Or we can check to restart to production server to check if resource can be cleared.
Thanks
Amit Patel
------------------------------
AMIT PATEL
Original Message:
Sent: Mon February 14, 2022 06:38 AM
From: Art Kagel
Subject: Memory issue on Informix primary server
Amit:
All of those additional virtual segments are in use. I think that the only thing you can do is merge them all into the initial SHMVIRTSIZE and increase the SHMADD size by 10X or more. Solaris is REALLY slow to allocate shared memory, so the fewer segments the better.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
Original Message:
Sent: Mon February 14, 2022 04:02 AM
From: AMIT PATEL
Subject: Memory issue on Informix primary server
Dear All,
We have upgrade our Informix server from 11.7 to Version 14.10.FC6X3 on Sun OS 5.11. After that We are facing multiple memory segment issue on Primary server, but everything is normal on Secondary server.
Before Upgrade there was only on Virtual memory segment.
I have checked all informix resource thru onstat -g osi, top , CPU, Memory all. mostly all looks same.
I've attached a word file for some Informix command output for both Informix Primary and Secondary server.
Can someone check and help me to solve the issue ?
what could the best option apart from increasing the shared memory.
Thanks
Amit Patel
------------------------------
AMIT PATEL
------------------------------
#Informix