VMware Cloud Community
BooYan
Contributor
Contributor
Jump to solution

NFC ERROR Cannot allocate any more memory

When I use vddk to read some sectors of a virtual disk, I received this error message:

Warning: [NFC ERROR] NfcFssrvrProcessErrorMsg: received NFC error 5 from server: Failed to allocate the requested 33554456 bytes

I check /var/log/vpxa.log on ESXi host and found

2018-09-04T10:50:04.188Z warning vpxa[8DC4B70] [Originator@6876 sub=Libs opID=lro-109-6cde2fa7] [NFC ERROR] NfcCheckAndReserveMem: Cannot allocate any more memory as NFC is already using 33554456 and allocating 33554456 will make it more than the maximum allocated: 50331648. Please close some sessions and try again

I have tried to modify maximum allocated memory of nfc as VMware Knowledge Base , but it does not work. An warning message in /var/log/hostd.log says

2018-09-04T07:54:29.849Z warning hostd[FFA30AE0] [Originator@6876 sub=Libs] [NFC ERROR] Nfc_SetServerMemoryLimits : maxMemLimit is greater than the default Nfc limit

and the maximum memory is not changed.

I have three questions:

  • Can nfc allocates a small memory when A new disk read request comes?
  • How to correctly increase the maximum allocated memory of nfc?
  • How to solve this problem and is there some things I missed?
Tags (2)
1 Solution

Accepted Solutions
SupreetK
Commander
Commander
Jump to solution

Please check the KB VMware Knowledge Base​.

Cheers,

Supreet

View solution in original post

0 Kudos
2 Replies
SupreetK
Commander
Commander
Jump to solution

Please check the KB VMware Knowledge Base​.

Cheers,

Supreet

0 Kudos
BooYan
Contributor
Contributor
Jump to solution

The consequence of out of NFC memory is that I read too much data in a singal disk read call. The NFC memory increases with requested data length.