java.lang.IllegalStateException: Insufficient threads: max=8 < needed(acceptors=4 + selectors=4 + request=1)

GitHub | maver1ck | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Druid quickstart bug - Exception: Insufficient threads

    GitHub | 7 months ago | maver1ck
    java.lang.IllegalStateException: Insufficient threads: max=8 < needed(acceptors=4 + selectors=4 + request=1)
  2. 0

    middlemanager throws an exception and exits

    GitHub | 6 months ago | loganto
    java.lang.IllegalStateException: Insufficient threads: max=5 < needed(acceptors=1 + selectors=4 + request=1)
  3. 0

    Re: [jetty-users] WebAppContext only produces "HTTP ERROR: 503"

    eclipse.org | 2 years ago
    java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@10e434d in ConstraintSecurityHandler@3e97df@
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using multiple embedded Hawtio instances on one machine/user can error on startup

    GitHub | 3 years ago | alex-sherwin
    java.lang.IllegalStateException: Failed to delete temp dir /home/acadiait/.hawtio/tmp
  6. 0

    Need more documentation on HTTPS setup

    GitHub | 3 years ago | ojhunt
    java.lang.IllegalStateException: Unable to retrieve certificate chain

  1. PKeidel 4 times, last 3 months ago
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Insufficient threads: max=8 < needed(acceptors=4 + selectors=4 + request=1)

    at org.eclipse.jetty.server.Server.doStart()
  2. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.server.Server.doStart(Server.java:350)[org.eclipse.jetty.jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
    2. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[org.eclipse.jetty.jetty-util-9.2.5.v20141112.jar:9.2.5.v20141112]
    2 frames
  3. com.metamx.tranquility
    ServerMain$$anonfun$createJettyServer$1$$anonfun$apply$1.apply
    1. com.metamx.tranquility.server.http.ServerMain$$anonfun$createJettyServer$1$$anonfun$apply$1.apply$mcV$sp(ServerMain.scala:153)[io.druid.tranquility-server-0.8.2.jar:0.8.2]
    2. com.metamx.tranquility.server.http.ServerMain$$anonfun$createJettyServer$1$$anonfun$apply$1.apply(ServerMain.scala:153)[io.druid.tranquility-server-0.8.2.jar:0.8.2]
    3. com.metamx.tranquility.server.http.ServerMain$$anonfun$createJettyServer$1$$anonfun$apply$1.apply(ServerMain.scala:153)[io.druid.tranquility-server-0.8.2.jar:0.8.2]
    3 frames
  4. com.metamx.common
    lifecycle$LifecycleOps$$anon$1.start
    1. com.metamx.common.scala.lifecycle$LifecycleOps$$anon$1.start(lifecycle.scala:31)[com.metamx.scala-util_2.11-1.11.6.jar:1.11.6]
    1 frame
  5. java-util
    Lifecycle.start
    1. com.metamx.common.lifecycle.Lifecycle.start(Lifecycle.java:259)[com.metamx.java-util-0.27.9.jar:na]
    1 frame
  6. com.metamx.tranquility
    ServerMain$.main
    1. com.metamx.tranquility.server.http.ServerMain$.main(ServerMain.scala:81)[io.druid.tranquility-server-0.8.2.jar:0.8.2]
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_101]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_101]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_101]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_101]
    4 frames
  8. util-app
    App$$anonfun$nonExitingMain$3.apply
    1. com.twitter.app.App$$anonfun$nonExitingMain$3.apply(App.scala:168)[com.twitter.util-app_2.11-6.30.0.jar:6.30.0]
    2. com.twitter.app.App$$anonfun$nonExitingMain$3.apply(App.scala:167)[com.twitter.util-app_2.11-6.30.0.jar:6.30.0]
    2 frames
  9. Scala
    Option.foreach
    1. scala.Option.foreach(Option.scala:257)[org.scala-lang.scala-library-2.11.7.jar:na]
    1 frame
  10. util-app
    App$class.nonExitingMain
    1. com.twitter.app.App$class.nonExitingMain(App.scala:167)[com.twitter.util-app_2.11-6.30.0.jar:6.30.0]
    1 frame
  11. com.metamx.tranquility
    ServerMain$.nonExitingMain
    1. com.metamx.tranquility.server.http.ServerMain$.nonExitingMain(ServerMain.scala:49)[io.druid.tranquility-server-0.8.2.jar:0.8.2]
    1 frame
  12. util-app
    App$class.main
    1. com.twitter.app.App$class.main(App.scala:133)[com.twitter.util-app_2.11-6.30.0.jar:6.30.0]
    1 frame
  13. com.metamx.tranquility
    DistributionMain.main
    1. com.metamx.tranquility.server.http.ServerMain$.main(ServerMain.scala:49)[io.druid.tranquility-server-0.8.2.jar:0.8.2]
    2. com.metamx.tranquility.distribution.DistributionMain$.main(DistributionMain.scala:34)[io.druid.tranquility-distribution-0.8.2.jar:0.8.2]
    3. com.metamx.tranquility.distribution.DistributionMain.main(DistributionMain.scala)[io.druid.tranquility-distribution-0.8.2.jar:0.8.2]
    3 frames