-
Notifications
You must be signed in to change notification settings - Fork 58
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
publisher stops suddenly. (deadlock?) #645
Comments
thanks for the report @caoyang1024 I'm suspecting potentially using semaphore might be causing this and thinking about switching to using a channel instead, but just speculating at the moment. If you could post a minimal console app program.cs and the server setup that would help a lot. |
@mtmk sure. here is my testing code. https://github.com/caoyang1024/stress-test.git i'm running my NATS using docker locally.
|
thanks @caoyang1024 unfortunately I wasn't able to reproduce the issue but I seen similar reports before. Are you able to give this branch a go? |
Observed behavior
try to stress test nats, by sending 1000 msg/s each thread, with 1 - 100 different number of threads, when threads go higher, this situation happens more often.
Expected behavior
looks to me like a deadlock, i can provide more info if needed.
Server and client version
"version": "2.10.21"
Host environment
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: