You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2018/10/02 03:54:00 UTC

[jira] [Commented] (KUDU-2595) Silence webserver messages like "Resource temporarily unavailable"

    [ https://issues.apache.org/jira/browse/KUDU-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634918#comment-16634918 ] 

Adar Dembo commented on KUDU-2595:
----------------------------------

This message is from within squeasel, and it means an EAGAIN error was returned during a recv() system call. From the manpage:

{quote}
EAGAIN or EWOULDBLOCK
 The socket is marked nonblocking and the receive operation would block,
 or a receive timeout had been set and the timeout expired before data
 was received. POSIX.1 allows either error to be returned for this case,
 and does not require these constants to have the same value, so a porta‐
 ble application should check for both possibilities.
{quote}

Looking at the squeasel code, when we close a connection we put the socket into non-blocking mode. Moreover, when we accept a new connection we configure a 30s timeout on the connection's socket. So either of those could be responsible.

Is there any interesting context for these messages?

> Silence webserver messages like "Resource temporarily unavailable"
> ------------------------------------------------------------------
>
>                 Key: KUDU-2595
>                 URL: https://issues.apache.org/jira/browse/KUDU-2595
>             Project: Kudu
>          Issue Type: Bug
>          Components: ui
>            Reporter: Andrew Wong
>            Priority: Minor
>
> Occasionally, we'll see messages like the following in our logs.
> {{E0912 09:03:08.457726 26862 webserver.cc:339] Webserver: error reading: Resource temporarily unavailable}}
> AFAICT these are harmless, but I'm unsure why they appear, and they are scary to unknowing users of Kudu.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)