Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocking IO in Forwarder? #596

Open
hiddenalpha opened this issue Jun 17, 2024 · 0 comments
Open

Blocking IO in Forwarder? #596

hiddenalpha opened this issue Jun 17, 2024 · 0 comments

Comments

@hiddenalpha
Copy link
Member

hiddenalpha commented Jun 17, 2024

IMHO 225ms is quite a long time for an async operation. Is there some unexpected blocking IO happening?

2024-06-14T15:52:56,390 int houston WARN BlockedThreadChecker - Thread Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 225 ms, time limit is 8 ms
io.vertx.core.VertxException: Thread blocked
	at io.netty.handler.codec.DefaultHeaders.get(DefaultHeaders.java:154) ~[netty-codec-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.handler.codec.DefaultHeaders.contains(DefaultHeaders.java:229) ~[netty-codec-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.handler.codec.http.DefaultHttpHeaders.contains(DefaultHttpHeaders.java:371) ~[netty-codec-http-4.1.103.Final.jar:4.1.103.Final]
	at io.vertx.core.http.impl.Http1xClientConnection.createRequest(Http1xClientConnection.java:184) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.Http1xClientConnection.beginRequest(Http1xClientConnection.java:231) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.Http1xClientConnection.access$700(Http1xClientConnection.java:73) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.Http1xClientConnection$StreamImpl.writeHead(Http1xClientConnection.java:529) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.Http1xClientConnection$StreamImpl.writeHead(Http1xClientConnection.java:522) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientRequestImpl.doWrite(HttpClientRequestImpl.java:522) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientRequestImpl.write(HttpClientRequestImpl.java:492) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientRequestImpl.write(HttpClientRequestImpl.java:451) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientRequestImpl.write(HttpClientRequestImpl.java:444) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.http.impl.HttpClientRequestImpl.write(HttpClientRequestImpl.java:44) ~[vertx-core-4.5.1.jar:4.5.1]
	at org.swisspush.gateleen.routing.Forwarder$1$1.write(Forwarder.java:331) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.routing.Forwarder$1$1.write(Forwarder.java:336) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.routing.Forwarder$1$1.write(Forwarder.java:314) ~[gateleen-routing-2.1.8.jar:?]
	at org.swisspush.gateleen.logging.LoggingWriteStream.write(LoggingWriteStream.java:50) ~[gateleen-logging-2.1.8.jar:?]
	at org.swisspush.gateleen.logging.LoggingWriteStream.write(LoggingWriteStream.java:41) ~[gateleen-logging-2.1.8.jar:?]
	at org.swisspush.gateleen.logging.LoggingWriteStream.write(LoggingWriteStream.java:14) ~[gateleen-logging-2.1.8.jar:?]
	at io.vertx.core.streams.impl.PumpImpl.lambda$new$1(PumpImpl.java:63) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.streams.impl.PumpImpl$$Lambda$572/0x0000000840528440.handle(Unknown Source) ~[?:?]
	at org.swisspush.gateleen.core.http.BufferBridge.lambda$pump$0(BufferBridge.java:38) ~[gateleen-core-2.1.8.jar:?]
	at org.swisspush.gateleen.core.http.BufferBridge$$Lambda$1556/0x0000000840793040.handle(Unknown Source) ~[?:?]
	at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:276) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:258) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.ContextInternal.lambda$runOnContext$0(ContextInternal.java:56) ~[vertx-core-4.5.1.jar:4.5.1]
	at io.vertx.core.impl.ContextInternal$$Lambda$263/0x000000084039c040.run(Unknown Source) ~[?:?]
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566) ~[netty-transport-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.103.Final.jar:4.1.103.Final]
	at java.lang.Thread.run(Thread.java:829) ~[?:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant