u012816115
心声nj
采纳率0%
2018-11-19 06:30 阅读 1.7k

redis问题 有经常接触这个组件的大神 请您赐教一下

5

{"Message":"出现错误。","ExceptionMessage":"No connection is available to service this operation: SETEX MC:expressionCache_742826270; IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=1,Free=32766,Min=4,Max=32767), Local-CPU: unavailable","ExceptionType":"StackExchange.Redis.RedisConnectionException","StackTrace":" at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImplT\r\n at StackExchange.Redis.RedisBase.ExecuteSyncT\r\n at Zfkr.RedisHelper.RedisHelper.<>c__DisplayClass10_01.<StringSet>b__0(IDatabase db)\r\n at ZFKR.Dapper.Repository.Cache.RedisExpressionCache1.Get(Expression key, Func2 creator, Nullable1 expiry) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.Dapper.Repository\ZFKR.Dapper.Repository\Cache\RedisExpressionCache.cs:line 58\r\n at ZFKR.Dapper.Repository.DapperRepository1.Find(Expression1 whereExpr, Boolean cache, IDbTransaction transaction) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.Dapper.Repository\ZFKR.Dapper.Repository\DapperRepository.Query.cs:line 58\r\n at ZFKR.MessageCenter.DAL.BaseDAL1.Find(Expression1 whereExpr, Boolean cache) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.MessageCenter\ZFKR.MessageCenter.DAL\BaseDAL.cs:line 399\r\n at ZFKR.MessageCenter.DAL.DB.S_MessageTempletDAL.GetMessageTemplet(Int32 actionID, Int32 cityID, Int32 templetType) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.MessageCenter\ZFKR.MessageCenter.DAL\DB\S_MessageTempletDAL.cs:line 78\r\n at ZFKR.MessageCenter.BLL.SysServerBLL.SysServerBLL.GetTemplate(Int32 actionID, Int32 cityID, Int32 templetType) in C:\Users\Administrator\Desktop\新建文件夹\ZFKR.MessageCenter\ZFKR.MessageCenter.BLL\SysServerBLL\SysServerBLL.cs:line 34\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"}

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • oyljerry oyljerry 2018-11-20 00:57

    "ExceptionMessage":"No connection is available to service this operation:

    ---- redis对应的服务是不是已经关闭了。

    点赞 评论 复制链接分享

相关推荐