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

RejectedExecutionException under load in Java TThreadPoolServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • None
    • None
    • Java - Library
    • None
    • Linux

    Description

      Under load, we're seeing this unpredictably. We're using a version of HEAD from August of 2009 since it's worked so well for us. The code that we're running against are essentially stubs for when we hook up to "real" Thrift server. I.e. our Thrift calls are answered by a server that returns literals without doing any "work" per se.

      Starting Thrift server on 9090...
      Exception in thread "main" java.util.concurrent.RejectedExecutionException
              at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760)
              at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
              at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
              at org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:185)
              at com.foo.ipc.server.ThriftServer.main(Unknown Source)
      

      Ring a bell?

      Attachments

        1. THRIFT-692.patch.untested.txt
          2 kB
          Philip Martin

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rslifka Rob Slifka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: