-
Notifications
You must be signed in to change notification settings - Fork 336
Open
Description
Hello,
We have found some issue on our API after the SkyWalking server unavailable:
Exception: One or more errors occurred. (An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
after analysis the source code, we found the root cause:
when creating GrpcChannel, use default GrpcChannelOptions
DisposeHttpClient property in this object default vaule is false
_channel = GrpcChannel.ForAddress(_server);
when shutdown the channel on ConnectAsync
there are no any implementation for ShutdownAsync on GrpcChannel
only empty virtual method there, see ShutdownAsyncCore
when assign new GrpcChannel to _channel, _channel is not shutdown and no release by GC in some scenario.
Metadata
Metadata
Assignees
Labels
No labels