NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

Chat TCP server caught an error with TooManySockets

Open rbaid1221 opened this issue 3 years ago • 1 comments

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?

rbaid1221 avatar Feb 15 '21 22:02 rbaid1221

https://github.com/yswenli/SAEA

yswenli avatar Feb 26 '21 09:02 yswenli