Skip to main content
NetApp Knowledge Base

What is an Fpolicy EAGAIN error and when do they occur?

Views:
571
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

ONTAP 9

Answer

EAGAIN errors occur when the send or receive buffer allocated to a specific TCP session between a LIF and a fpolicy server is filled and no longer has available room for requests to be sent or responses to be received. The buffer empties when requests are responded to or when responses are pulled out of the buffer by ONTAP. When an EAGAIN occurs a rewind behaviour is triggered for that SVM to that fpolicy server, depending on the version of ONTAP this rewind/delay behavior can vary.

  • Versions without the fix for bug 1372994:
    • ONTAP will pause fpolicy requests on that TCP session for 2 seconds, then start sending queued requests on resume.
  • Versions with the fix for bug 1372994:
    • For the first attempt, ONTAP will retry the request after 1 ms. If another EAGAIN occurs for the same request, ONTAP will continue to retry every 100ms for maximum of 2 seconds, closing the socket if the request cannot be added to the buffer prior to the timeout. If the request can be added to the buffer prior to the disconnection, the process reverts to the 1ms delay timer for the next EAGAIN occurrence.

EAGAIN_Flow.png

Examples of errors:

  • EMS or event log show:

[filer1: fpolicy: fpolicy.eagain.on.write:notice]: Write returned EAGAIN while sending notification to the FPolicy server "1.2.3.4" for vserver ID 3.

  • fpolicy-mlogs:

Fpolicy.log reports errors pertaining to EAGAIN errors similar to the following:
[kern_fpolicy:error:1552] Write returned EAGAIN[35] [0x0x80c408d00] src/fsm/fsm_external_engine.cc:864

 

Scan to view the article on your device

 

  • Was this article helpful?