数据库
首页 > 数据库> > Windows 下 Redis服务自动停止 处理

Windows 下 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 ---
  

 

 [9136] 01 Jan 03:03:24.093 # EndForkOperation: 0x00000005 - EndForkOperation: Killing forked process failed.: �ܾ����ʡ�

序列化的子程序停止,导致redis主程序停止

 

https://github.com/microsoftarchive/redis/issues/447

 

 

 

 

 

 

标签:redis,Windows,Redis,ServiceStack,RedisNativeClient,System,自动,Net
来源: https://www.cnblogs.com/xyyhcn/p/14219358.html