Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4984

Scary and spammy "error processing request: EOF" logs from TSimpleServer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: Go - Library
    • Labels:
      None

      Description

      After upgraded our code to 0.13.0, we noticed a lot of the logs in stderr:

      2019/10/22 22:04:52 error processing request: EOF
      

      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), so I think it's just that we missed some cases and didn't treat all harmless EOF errors as non-errors.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fishywang Yuxuan Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h