line / armeria

Your go-to microservice framework for any situation, from the creator of Netty et al. You can build any type of microservice leveraging your favorite technologies, including gRPC, Thrift, Kotlin, Retrofit, Reactive Streams, Spring Boot and Dropwizard.
https://armeria.dev
Apache License 2.0
4.78k stars 907 forks source link

Request is waiting for ForkJoinPool.commonPool-worker-0 #4582

Open nitulkukadia opened 1 year ago

nitulkukadia commented 1 year ago

Request is not being served and getting timed out.

Observation is request is reaching to worker thread - 16:19:23.051 [armeria-common-worker-nio-2-2] DEBUG c.l.a.server.logging.LoggingService . But it is not reaching to Fork join thread ForkJoinPool.commonPool-worker-0]. This is happening for random requests.

Armeria version is - 1.14.0.

ikhoon commented 1 year ago

I have seen similar cases when a blocking IO is performed in an event loop. You may want to check for that case. If it is not, please offer a reproducible example as @jrhee17 suggested.

Also replied at: https://line-armeria.slack.com/archives/C1NGPBUH2/p1671599374202149?thread_ts=1671535948.599919&cid=C1NGPBUH2