java.lang.IllegalStateException: Insufficient max threads in ThreadPool: max=100 < needed=121

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by Charlie Sharpsteen, 1 year ago
Insufficient max threads in ThreadPool: max=100 < needed=121
via JIRA by Charlie Sharpsteen, 1 year ago
Insufficient max threads in ThreadPool: max=100 < needed=121
via GitHub by zloster
, 7 months ago
Insufficient threads: max=2 < needed(acceptors=1 + selectors=2 + request=1)
via GitHub by maver1ck
, 1 year ago
Insufficient threads: max=8 < needed(acceptors=4 + selectors=4 + request=1)
via GitHub by thomaslee
, 1 year ago
Insufficient threads: max=3 < needed(acceptors=2 + selectors=2 + request=1)
via GitHub by loganto
, 1 year ago
Insufficient threads: max=5 < needed(acceptors=1 + selectors=4 + request=1)
java.lang.IllegalStateException: Insufficient max threads in ThreadPool: max=100 < needed=121
at org.eclipse.jetty.server.Server.doStart(Server.java:320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
at puppetlabs.trapperkeeper.services.webserver.jetty9_core$start_webserver.invoke(jetty9_core.clj:206)
at puppetlabs.trapperkeeper.services.webserver.jetty9_service$reify__19641$f_positional__19646$fnk19754_positional__19755$fn__19756.invoke(jetty9_service.clj:15)
at puppetlabs.trapperkeeper.services.webserver.jetty9_service$reify__19641$fn$reify__19831.start(jetty9_service.clj:15)
at puppetlabs.trapperkeeper.services$eval16331$fn__16345$G__16321__16348.invoke(services.clj:12)
at puppetlabs.trapperkeeper.services$eval16331$fn__16345$G__16320__16352.invoke(services.clj:12)
at puppetlabs.trapperkeeper.internal$run_lifecycle_fn_BANG_.invoke(internal.clj:143)
at puppetlabs.trapperkeeper.internal$run_lifecycle_fns.invoke(internal.clj:170)
at puppetlabs.trapperkeeper.internal$build_app_STAR_$reify__17410.start(internal.clj:385)
at puppetlabs.trapperkeeper.internal$boot_services_STAR_.invoke(internal.clj:401)
at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:114)
at puppetlabs.trapperkeeper.core$run.invoke(core.clj:145)
at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:160)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:624)
at com.puppetlabs.puppetdb.cli.services$_main.doInvoke(services.clj:374)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.core$apply.invoke(core.clj:624)
at com.puppetlabs.puppetdb.core$run_command.invoke(core.clj:87)
at com.puppetlabs.puppetdb.core$_main.doInvoke(core.clj:95)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at clojure.lang.Var.invoke(Var.java:388)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.core$apply.invoke(core.clj:624)
at clojure.main$main_opt.invoke(main.clj:315)
at clojure.main$main.doInvoke(main.clj:420)
at clojure.lang.RestFn.invoke(RestFn.java:482)
at clojure.lang.Var.invoke(Var.java:401)
at clojure.lang.AFn.applyToHelper(AFn.java:171)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)

Users with the same issue

4 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.