System call recv() failed with EAGAIN which causes connection disconnect with application

Solution Verified - Updated -

Issue

Seeing unexpected behavior on a Unix domain socket that is created by socketpair(), where an EAGAIN error is returned after system call recv().

This is causing a communication link failure with a third party application. System call recv() failed returning EAGAIN. The expected behaviour is that the socket remain open.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content