thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duru Can Celasun (Jira)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4984) Scary and spammy "error processing request: EOF" logs from TSimpleServer
Date Wed, 23 Oct 2019 20:44:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Duru Can Celasun updated THRIFT-4984:
-------------------------------------
    Priority: Minor  (was: Major)

> Scary and spammy "error processing request: EOF" logs from TSimpleServer
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-4984
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4984
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.13.0
>            Reporter: Yuxuan Wang
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> After upgraded our code to 0.13.0, we noticed a lot of the logs in stderr:
> {code}
> 2019/10/22 22:04:52 error processing request: EOF
> {code}
> I think they are generated by this line https://github.com/apache/thrift/blob/v0.13.0/lib/go/thrift/simple_server.go#L167,
which means EOF is an error returned by processRequests function.
> In that function we actually treat some EOF errors as non-errors ([example|https://github.com/apache/thrift/blob/v0.13.0/lib/go/thrift/simple_server.go#L266]),
so I think it's just that we missed some cases and didn't treat all harmless EOF errors as
non-errors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message