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

Issue with publishing and subscribing #804

Open
slqd3781 opened this issue Nov 15, 2024 · 0 comments
Open

Issue with publishing and subscribing #804

slqd3781 opened this issue Nov 15, 2024 · 0 comments

Comments

@slqd3781
Copy link

Describe the bug

Hello, after running my Garnet for a while, the publish subscribe function will encounter this error

[FTL] [Session] ProcessMessages threw an exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'GarnetTcpNetworkSender'.
at Garnet.common.GarnetTcpNetworkSender.ThrowDisposed()
at Garnet.server.RespServerSession.Publish(Byte*& keyPtr, Int32 keyLength, Byte*& valPtr, Int32 valLength, Byte*& inputPtr, Int32 sid)
at Garnet.server.SubscribeBroker`3.Broadcast(Byte[] key, Byte* valPtr, Int32 valLength, Boolean ascii)
at Garnet.server.RespServerSession.NetworkPUBLISH()
at Garnet.server.RespServerSession.ProcessMessages()
at Garnet.server.RespServerSession.TryConsumeMessages(Byte* reqBuffer, Int32 bytesReceived)

Steps to reproduce the bug

After running for about 2 days, once this error occurs, the channel is blocked and unable to publish subscription messages

Expected behavior

No response

Screenshots

No response

Release version

v1.0.38

IDE

No response

OS version

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant