NetCoreServer
NetCoreServer copied to clipboard
Chat TCP server caught an error with TooManySockets
Hi, has anyone seen this error before? We have had our production system run for over 4 months now. CPU Utilization was stable at 20% There was no spike in use or users.
We received this error over here.
namespace AssetTracker.Tcp.Listner.Core.AtTcpServer
{
public class AssetTrackerServer : TcpServer
{
public AssetTrackerServer(IPAddress address, int port) : base(address, port) {
}
protected override TcpSession CreateSession() { return new AssetTrackerSession(this); }
protected override void OnError(SocketError error)
{
Log.Error($"Chat TCP server caught an error with code {error}");
}
}
}
I cannot find any documentation on why this could possibly be occurring. After rebooting the server, everything started working fine again.
Does anyone know where this could be coming from?
https://github.com/yswenli/SAEA