Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Configuring P2M Buffer size for virtual machines. (76387)

Last Updated: 2/26/2024Categories: TroubleshootingTotal Views: 24151Language:
Chinese (Simplified)JapaneseEnglish

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Symptoms

A virtual machine might fail with the following error message in vm log:

YYYY-MM-DDTHH:MM:SS.sssZ| vcpu-1| W115: MONITOR PANIC: vmk: vcpu-0:P2M reservation failed after max retries

A virtual machine might fail to enable its network adapter after a vMotion with the following error messages in vmkernel.log

YYYY-MM-DDTHH:MM:SS.sssZ cpu174:4463989)VmMemCow: 1706: p2m update: cannot reserve - cur 0 0 rsvd 1028 req 257 avail 1279
YYYY-MM-DDTHH:MM:SS.sssZ cpu174:4463989)Vmxnet3: 16524: Failed to map the rx data ring for rq 0

Note: NSX Edge VM's can be affected by this issue

Cause

A virtual machine might request a bigger size of memory from VMX device(ex: SVGA, 3D, etc), this can cause breaking of large number of shared memory pages causing p2m buffer to overflow and virtual machine powered off with the error message reservation failed after max retries.

Resolution

To workaround this issue, increase the P2M buffer slots for all the virtual machines VM(s) on the host. It is a host setting that is applied at the time when the virtual machine is powered on or migrated to that host. The host does not require a reboot. The virtual machine has to be either powered off and powered back on or migrated to another host and migrated back for the setting to take effect on this host.

If a virtual machine cannot be powered off, you can migrate the virtual machine to a different ESXi host in the cluster, If the virtual machine resides on shared datastores across the cluster. It can be done to all the virtual machines on the host if the settings need to be applied to all the virtual machines. Once the host setting is applied, virtual machines can be migrated back to the host.

Power off VM(s) on the hosts OR Migrate all the Powered ON virtual machines from the host on which you need to make changes to different ESXi hosts in the cluster.

From UI, go to Host > Manage > Advanced Settings

Search for ShareCOSBufSize

Edit the value to 32 (Maximum supported size)

Please make sure the new value is updated under the value section.

Power on the VM(s) OR Migrate the virtual machines back to the host on which changes were made.

Note: Alternatively, you can apply the setting on the destination host before migrating the virtual machine to it.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
vSAN 健全性サービス - パフォーマンス サービス - ネットワーク診断モード (76676)

KB
•
/dev/sda の容量不足が原因で vRealize Operations Manager 8.x へのアップグレードが失敗する (75298)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware ESXi

Related Versions:

VMware vSphere ESXi 7.0.x

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

Take Our Survey

Support Assistant