java - Spring boot http requests open threads that never close -
i trying performance testing of boot app prior releasing it, running test see memory usage, thread count etc. noticing make http requests endpoints of app (including actuate endpoints) see "xnio-2 task-n" threads created , never cleaned up.
- java version = "1.8.0_66"
- gradle version = 3.5
- springbootversion = '1.5.4.release'
- server = undertow
neither rest controller nor service open additional threads. have looked @ following: https://github.com/googlemaps/google-maps-services-java/issues/261 not using geoapi.
name: xnio-2 task-46 state: waiting on java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject@7155b807 total blocked: 0 total waited: 1 stack trace: sun.misc.unsafe.park(native method) java.util.concurrent.locks.locksupport.park(locksupport.java:175) java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject.await(abstractqueuedsynchronizer.java:2039) java.util.concurrent.linkedblockingqueue.take(linkedblockingqueue.java:442) java.util.concurrent.threadpoolexecutor.gettask(threadpoolexecutor.java:1067) java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1127) java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) java.lang.thread.run(thread.java:745)
as long no http requests made thread count stays constant, know of known issues cause this?
Comments
Post a Comment