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