ex: /var/log/syslog of the Edge node
2024-09-20T02:45:12.419Z edge-01.corp.local NSX 5307 FABRIC [nsx@6876 comp="nsx-edge" subcomp="datapathd" s2comp="stats" level="INFO"] mempool exhausted, usage: 87, threshold: 85, pool: mbuf_pool_socket_0
edge01> get dataplane memory stats
----
Available_entries : 133356 >> approx. 13.64% of 'size'. That means 86.36% is 'used'Available_entries_in_cache : 2830Cache_size_per_core : 128Name : mbuf_pool_socket_0Per_core_cache
-------O/P Truncked--------
Size : 977146 >> total size
----
ex: /var/log/syslog of the Edge node
$ grep Mempool syslog* | awk '{print $1, $14}'syslog.1:2024-09-20T02:41:39.056Z 133360syslog.11:2024-09-20T01:31:39.056Z 133358syslog.12:2024-09-20T01:21:39.047Z 133357syslog.14:2024-09-20T01:11:39.050Z 133359syslog.15:2024-09-20T01:01:39.050Z 133358syslog.17:2024-09-20T00:51:39.056Z 133356syslog.18:2024-09-20T00:41:39.056Z 133356
edge01> get dataplane | find Rx_ring_sizeRx_ring_size : 4096
edge01> get dataplane | find Tx_ring_sizeTx_ring_size : 4096
VMware NSX
On Large Bare Metal Edge nodes the number of mbufs in Tx and Rx queues represents the majority of all mbufs allocated from the pool. If the buffers in Tx, Rx queues are not freed before the space in the Tx , Rx rings are needed, this may lead to memory usage alerts.
This issue has been addressed from 4.2.0 onwards where the size of the mbuf pool have been increased for Bare Metal edge nodes to avoid this alarm.