/var/core/opsAgent-zdump.###/var/run/log/nsx-syslog.log, log messages similar to the following example are observed
Log sample from /var/run/log/nsx-syslog.log |
Wa(###) nsx-opsagent[#######]: NSX ######## - [nsx@4413 comp="nsx-esx" subcomp="opsagent" s2comp="nsx-core" tid="########" level="WARNING"] AsioNsxProvider: (0x##########-2) user dispatcher blocked since 20 seconds |
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware VCF NSX 9.x
VMware NSX 4.x
VMware NSX-T Data Center 3.x
This problem occurs because NSX is requesting high quality entropy for frequent use and consequently the default HWRNG entropy gets exhausted and thereby causes timeouts as we wait for more entropy. Reference ESXi documentation: Controlling ESXi Entropy.
This is a known issue impacting VMware NSX.
Workaround:
/etc/init.d/nsx-opsagent stop/etc/init.d/nsx-cfgagent stop/etc/init.d/nsx-proxy stop/etc/init.d/nsx-nestdb stop/etc/init.d/nsx-pre-nestdb stop/etc/init.d/nsx-pre-nestdb start/etc/init.d/nsx-nestdb start/etc/init.d/nsx-proxy start/etc/init.d/nsx-cfgagent/etc/init.d/nsx-opsagent
esxcli system settings kernel list -o entropySourcesesxcli system settings kernel set -s entropySources -v 0xF Note: A reboot is required for the ESXi host to use the adjusted configuration.
Workaround Reversal:
esxcli system settings kernel set -s entropySources -v 0
esxcli system settings kernel commands will correct the issue.