Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
G W reported an IDS 14.10.FC13W1 hang with all sessions in mutex wait lru or hash. Art Kagel suggested raising LRUS but the poster's bufwaits ratio was fine. Hedwig Fuchs pointed to defect DT463494 (deadlocks after long hash and lru mutex waits); Art agreed and advised upgrading to 14.10.FC13W13.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
G W — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi,
We have problem, IDS 14.10.FC13W1 was hung up. All sessions (open, activ, new ) were wait status "mutex wait lru" or "mutex wait hash".
Do you have any idea what could cause this? What we should monitoring?
------------------------------
G W
------------------------------
↪ replying to G W
Art Kagel — source: IBM Community (ConnectedCommunity.org) Informix forum
G W:
Most likely your buffer pools do not have enough LRU queues defined to prevent the large number of concurrent access requests to the buffer cache from having to wait for each other in order to modify pages in the cache. Increase the "lrus" field in the BUFFERPOOL parameters in your ONCONFIG file:
BUFFERPOOL size=2K,lrus=8,lru_min_dirty=50,lru_max_dirty=60,extendable=1,start_memory=600000,memory=auto
This is the setting in my tiny personal server that only has to deal with one or two active sessions. In most cases you should be setting something closer to the maximum value (512). You can monitor whether you have set it high enough be monitoring the Bufwaits Ratio (BR) metric. This is the calculation if you want to do it manually, or download the ratios.shr_ak package from my web site and install the ratios.sql stored procedure into sysmaster so you can run the newratios.ksh script which calculates BR and several other metrics that I use to get a quick view of the server's health:
BR = (bufwaits / (pagreads + bufwrites)) * 100
Ideally you want your BR under 6. If it exceeds 7 you will begin to notice slowness and paused sessions. If it passes 10 your phone will begin to ring with complaints. I'm guessing that your BR is over 10.0 now.
Download from
www.askdbmgt.com/my-utilities.html
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
------------------------------
↪ replying to Art Kagel
G W — source: IBM Community (ConnectedCommunity.org) Informix forum
Hedwig Fuchs — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi
please check
DT463494
Deadlocks may be observed after long waits on the hash and lru mutexes.
Newest version for 14.10.FC13 is 14.10.FC13W13
------------------------------
Hedwig Fuchs
------------------------------
↪ replying to G W
David Williams — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi,
Can you post the stack from the threads with onstat -g stk?
Regards,
David.
------------------------------
David Williams
Senior Database Platform Engineer
Flutter
London
------------------------------
↪ replying to Hedwig Fuchs
David Williams — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi,
Which versions are affected by DT463494?
Regards,
David.
------------------------------
David Williams
Senior Database Platform Engineer
Flutter
London
------------------------------
↪ replying to G W
Art Kagel — source: IBM Community (ConnectedCommunity.org) Informix forum
G W:
I agree, your BR is 0.33, so not the issue. I think that Hedwig nailed it and you are likely hitting a bug # DT463494.
Upgrade to the latest release of 14.10 which is, as noted in Hedwig's post, 14.10.FC13W13. That release appears to have the fix for this as well as for a few other bugs and some security patches.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com
------------------------------
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.