Description:
Statistics events for memory usage when data/index memory reaches 80/90 percent is flooding the cluster log (Data and index memory usage (80%, 90%, and 100%) ).
Currently this event's prio is set too low(5) which means we cannot turn it off if we just want transaction statistics info(9) for example. In some cases you're fine with running 80% of capacity.
Also, the mem usage is written every second, every N seconds would be enough.
--
2009-05-06 23:18:56 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:56 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:57 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:57 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:58 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:58 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:59 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:18:59 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:00 [MgmSrvr] INFO -- Node 4: Operations=0
2009-05-06 23:19:00 [MgmSrvr] INFO -- Node 3: Operations=0
2009-05-06 23:19:00 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:00 [MgmSrvr] INFO -- Node 3: Trans. Count = 0, Commit Count = 0, Read Count = 0, Simple Read Count = 0, Write Count = 0, AttrInfo Count = 0, Concurrent Operations = 0, Abort Count = 0 Scans = 0 Range scans = 0
2009-05-06 23:19:00 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:00 [MgmSrvr] INFO -- Node 4: Trans. Count = 0, Commit Count = 0, Read Count = 0, Simple Read Count = 0, Write Count = 0, AttrInfo Count = 0, Concurrent Operations = 0, Abort Count = 0 Scans = 0 Range scans = 0
2009-05-06 23:19:01 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:01 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:02 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:02 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:03 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:03 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:04 [MgmSrvr] INFO -- Node 3: Data usage increased to 80(6412 32K pages of total 8000)
2009-05-06 23:19:04 [MgmSrvr] INFO -- Node 4: Data usage increased to 80(6412 32K pages of total 8000)
How to repeat:
Use more than 80% of available data/index mem.
Enable statistics events for the cluster log.
ndb_mgm> all clusterlog statistics=8
Suggested fix:
Change the prio level or only send the mem usage event every N seconds instead of every second which it does today.