Notes:
To resolve the out-of-memory issue, increase the size of the network packet buffer pool.
ESXi 5.1 uses a buffer pool for network packets. By default, the maximum memory allocated for packets is 656 MB.
ESXi 5.5 uses a buffer pool that is calculated on per-GB basis, so the maximum memory allocated for packets is relative to the amount of physical memory in the system.
To increase the maximum size of the network packet buffer pool and heap on the host, you can use the vSphere Web Client, vSphere Client, vCLI, or PowerCLI commands.
Note: A Reboot is required on the ESXi host for changes to take in effect.
ESXi version | Procedure |
5.1 |
|
5.5 and later |
|
ESXi version | Procedure |
5.1 |
|
5.5 and later |
|
To increase the size of the network packet buffer pool, set the netPktPoolMaxSize and netPktHeapMaxMBPerGB parameters by using the esxcli system settings kernel set command on the host:
ESXi version | Command |
5.1 | esxcli system settings kernel set -s netPktHeapMaxSize -v 256 esxcli system settings kernel set -s netPktPoolMaxSize -v 800 |
5.5 and later | esxcli system settings kernel set -s netPktHeapMaxMBPerGB -v 512 esxcli system settings kernel set -s netPktPoolMaxMBPerGB -v 200 |
ESXi version | Command |
5.1 | esxcli system settings kernel list | grep netPktHeapMaxSize esxcli system settings kernel list | grep netPktPoolMaxSize |
5.5 and later | esxcli system settings kernel list | grep netPktHeapMaxMBPerGB esxcli system settings kernel list | grep netPktPoolMaxMBPerGB |
To set the network packet heap and pool size:
ESXi version | Command |
5.1 | Set-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktHeapMaxSize -Value 256 Set-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktPoolMaxSize -Value 800 |
5.5 and later | Set-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktHeapMaxMBPerGB -Value 512 Set-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktPoolMaxMBPerGB -Value 200 |
ESXi version | Command |
5.1 | Get-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktHeapMaxSize Get-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktPoolMaxSize |
5.5 and later | Get-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktHeapMaxMBPerGB Get-VMHostAdvancedConfiguration -VMHost IP_or_FQDN_of_Host -Name VMkernel.Boot.netPktPoolMaxMBPerGB |
For more information, see the VMware PowerCLI Documentation.