Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-4450

RejectedExecutionException in proxy log when using modrate

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5.0, 6.0.0, 5.5.0
    • Fix Version/s: 6.5.0
    • Component/s: proxy, tools
    • Labels:
    • Story Points:
      1

      Description

      Found with opendj 5.5.0

      In our functional and stress tests, we regularly have an error appearing in the server.out log of the proxy, either when firing a modrate or just performing an ldapsearch.

      I was able to reproduce it with a functional test that sets up 2 servers, replicated, with ssl enabled.
      Then it configures a proxy in front of these replicated servers (replication discovery, ssl enabled)
      We add 3 entries through the proxy and want to check that the ldaps add operations counter in cn=monitor is incremented while the ldap one is not.
      Everything is fine but at some point we have an error in the proxy logs:

      (ERROR) io.reactivex.exceptions.UndeliverableException: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@10483e29 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@6304240[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 10] 	
      11:42:09.633 	WARN 	(ERROR) Caused by: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@10483e29 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@6304240[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 10] 	
      11:42:09.633 	INFO 	--- Check for error patterns in "/local/GIT/pyforge/results/20171026-113939/proxy_group/Ssl/PROXY2/opendj/logs/errors" file --- 	
      11:42:09.667 	WARN 	(ERROR) [26/Oct/2017:11:41:52 +0200] category=org.opends.messages.external severity=WARNING msgID=1 msg=GRIZZLY0011: Uncaught exception on thread Thread[OpenDJ LDAP SDK Client Selector(5) SelectorRunner,5,Directory Server Thread Group] exception=UndeliverableException: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@10483e29 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@6304240[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 10] (RxJavaPlugins.java:349 NewThreadWorker.java:136 IoScheduler.java:230 Scheduler.java:272 FlowableObserveOn.java:166 FlowableObserveOn.java:135 RequestHandle.java:373 FlowableDoOnEach.java:134 LdapClientImpl.java:638 LdapClientImpl.java:554 DemultiplexerImpl.java:432 DemultiplexerImpl.java:392 DemultiplexerImpl.java:162 FlowableDoFinally.java:85 FlowableDoOnEach.java:91 FlowableOnErrorNext.java:69 FlowableFilter.java:74 FlowableFilter.java:52 FlowableDoOnEach.java:208 GrizzlyLdapSocketFilter.java:201 GrizzlyLdapSocketFilter.java:102 ...)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ylecaillez Yannick Lecaillez
                Reporter:
                cforel carole forel
                QA Assignee:
                Ondrej Fuchsik
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: