远程查看服务器,发现Redis 连接出现超时,
- 查看后台发现Redis服务自动停止
Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware EventId: 1 SpanId: 33e119113bac544d TraceId: 9f09a44db75d3844a2d285d94bb53ff3 ParentId: 0000000000000000 RequestId: 8005911a-0004-fa00-b63f-84710c7967bb RequestPath: /api/rackusingdata/testpost An unhandled exception has occurred while executing the request. Exception: ServiceStack.Redis.RedisException: 127.0.0.1:6379 ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): 由于目标计算机积极拒绝,无法连接。 127.0.0.1:6379 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.Net.Sockets.Socket.Connect(String host, Int32 port) at ServiceStack.Redis.RedisNativeClient.Connect() in C:\BuildAgent\work\b2a0bfe2b1c9a118\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:line 234 at ServiceStack.Redis.RedisNativeClient.TryConnectIfNeeded() in C:\BuildAgent\work\b2a0bfe2b1c9a118\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:line 299 at ServiceStack.Redis.RedisNativeClient.AssertConnectedSocket() in C:\BuildAgent\work\b2a0bfe2b1c9a118\src\ServiceStack.Redis\RedisNativeClient_Utils.cs:line 293 --- End of inner exception stack trace ---
- 查看redis日志server_log.txt
[9136] 01 Jan 03:03:24.093 # EndForkOperation: 0x00000005 - EndForkOperation: Killing forked process failed.: �ܾ����ʡ�
序列化的子程序停止,导致redis主程序停止
- 查找github
https://github.com/microsoftarchive/redis/issues/447
- 暂时的处理方法,服务停止后自动重启
- 右键redis设置恢复