“/”应用程序中的服务器错误。

OOM command not allowed when used memory > 'maxmemory'., sPort: 56442, LastCommand:

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: ServiceStack.Redis.RedisResponseException: OOM command not allowed when used memory > 'maxmemory'., sPort: 56442, LastCommand:

源错误:


行 771:            using (RedisNativeClient RNC = GetNativeClientForKeySpace(key_space))
行 772:            {
行 773:                int rt = RNC.HSet(redis_key, Encoding.UTF8.GetBytes(hash_key), LetaoSerializer.Serialize(hash_obj));
行 774:                return rt == 1;
行 775:            }

源文件: d:\new\20220316\www.sqjy.com\App_Code\Common\LetaoRedis.cs    行: 773

堆栈跟踪:


[RedisResponseException: OOM command not allowed when used memory > 'maxmemory'., sPort: 56442, LastCommand: ]
   ServiceStack.Redis.RedisNativeClient.CreateResponseError(String error) +175
   ServiceStack.Redis.RedisNativeClient.ReadInt() +247
   ServiceStack.Redis.RedisNativeClient.SendExpectInt(Byte[][] cmdWithBinaryArgs) +76
   ServiceStack.Redis.RedisNativeClient.HSet(String hashId, Byte[] key, Byte[] value) +121
   ccwv.sitemon.LetaoRedis.LTHashSaveSingleObj(String key_space, String key_id, String hash_key, Object hash_obj) in d:\new\20220316\www.sqjy.com\App_Code\Common\LetaoRedis.cs:773
   Ccwv.DAO.User.SessionRedisDAO.SetSession(String SessionID, String session_key, Object session_obj) in d:\new\20220316\www.sqjy.com\App_Code\DAO\User\SessionRedisDAO.cs:236
   Ccwv.Business.User.LetaoSession.InitSessionID(Boolean IfEnableCookie) in d:\new\20220316\www.sqjy.com\App_Code\Business\User\LetaoSession.cs:361
   Ccwv.Business.User.LetaoSession..ctor(LTDB ltDB, Boolean enable_cookie) in d:\new\20220316\www.sqjy.com\App_Code\Business\User\LetaoSession.cs:204
   Ccwv.PageBase.User.MasterPage.OnLoad(EventArgs e) in d:\new\20220316\www.sqjy.com\App_Code\PageBase\User\MasterPage.cs:180
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4494.0