Resin输出“exit reason: HEALTH (exit code=9)”信息后,进行了重启。

 
【现象】
Resin输出"exit reason: HEALTH (exit code=9)"信息后,进行了重启。

WarningService: Shutdown: caucho.database.corrupt[****/resin-data/app-0/distcache/data.db] Table[data:6,****\resin-data\app-0\distcache\data.db]: inode block 1ab8 has invalid block code (0) expected (2)

【发生条件】
当Resin内部数据库的数据不一致时,将显示“caucho.database.corrupt”信息。

【原因】
该现象在下面情况下会发生。
 ・java进程或机器处于高负荷状态时
 ・保存了大量会话数据时
 
【解决方法】
再次发生该现象时请考虑使用以下方法来解决问题。

 删除“<%RESIN_HOME%>/resin-data/app-0/distcache”
  删除发生该现象的服务器的“<%RESIN_HOME%>/resin-data/app-0/distcache”目录后, 重启Resin。

另外,为了今后不再发生同样的现象,请考虑使用以下解决方法。
◆ 将resin.properties的session_store设置为无效(false)
  执行以下设置可以减轻session数据写入的负荷。
  <resin.properties设置例>
  session_store : false
  
  但是将session_store设置为无效后,不能实现session failover。
  
  将session_store设置为无效后,要应用session failover的话,请考虑用session管理模块。
  
  ■session管理模块的介绍
   https://dev.intra-mart.jp/share_im_session_store/
  
◆ 更新到Resin的最新版本

      因为随着每次版本更新,Resin内部数据库都会得到改进,所以推荐使用最新版本。
   更新到最新版本的相关内容请参照下面的FAQ。
    
  ■可以使用不属于产品支持对象的最新版本的Resin吗?
   https://product.intra-mart.support/hc/ja/articles/360019552274(日语) 

-- 适用对象 ----------------------------------------------------------------
iAP/Accel Platform/所有版本
--------------------------------------------------------------------------------




FAQID:625
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助
由 Zendesk 提供技术支持