-
Notifications
You must be signed in to change notification settings - Fork 975
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
io.lettuce.core.RedisCommandTimeoutException: Command timed out #1092
Comments
Please learn how to properly format code and logs. The code does not contain any obvious issues. Please grab a thread dump once the issue occurs the next time. Maybe it's related to #1086. |
Thanks for the update , We have seen lot of threads are waiting at LockSupport.parkNanos , May we know when this version made public or any beta version available to verify the issue is fixed
|
The mentioned scenario is a regular one. The synchronous facade awaits command completion. Do you see other ones that are blocked, too? (Other ones than |
|
Thanks a lot. This is likely the cause for timeouts that for some reason Log4j blocks the I/O threads. |
May I close this ticket or is there anything else I can assist you with? |
@mp911de |
Make sure your Logging category for Lettuce is |
Bug Report
Current Behavior
Stack trace
io.lettuce.core.RedisCommandTimeoutException: Command timed out after 10 second(s) at io.lettuce.core.ExceptionFactory.createTimeoutException(ExceptionFactory.java:51) ~[lettuce-core-5.1.6.RELEASE.jar:?] at io.lettuce.core.LettuceFutures.awaitOrCancel(LettuceFutures.java:114) ~[lettuce-core-5.1.6.RELEASE.jar:?] at io.lettuce.core.cluster.ClusterFutureSyncInvocationHandler.handleInvocation(ClusterFutureSyncInvocationHandler.java:123) ~[lettuce-core-5.1.6.RELEASE.jar:?] at io.lettuce.core.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:80) ~[lettuce-core-5.1.6.RELEASE.jar:?] at com.sun.proxy.$Proxy72.get(Unknown Source) ~[?:?] at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212] at io.lettuce.core.support.ConnectionWrapping$DelegateCloseToConnectionInvocationHandler.handleInvocation(ConnectionWrapping.java:191) ~[lettuce-core-5.1.6.RELEASE.jar:?] at io.lettuce.core.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:80) ~[lettuce-core-5.1.6.RELEASE.jar:?] at com.sun.proxy.$Proxy72.get(Unknown Source) ~[?:?] ```java // your stack trace here; ```Input Code
Input Code
Expected behavior/code
Environment
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: