[Symptom]
The message like below is output and Resin restarts with "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)
[Occurrence condition]
The "caucho.database.corrupt" message is output when an inconsistency occurs in the internal database of Resin.
[Cause]
This occurs in the following cases.
・When java process or machine is under heavy load status.
・When high volumes of session data are stored.
In addition, the [Cause] listed in the following FAQ may be involved.
* Resin does not start or keeps restarting. I would like to know the cause and workaround.
https://global.intra-mart.support/hc/en-us/articles/52509852326681
[Handling method]
Please follow the [What to do when this issue occurs] section in the FAQ below.
* Resin does not start or keeps restarting. I would like to know the cause and workaround.
https://global.intra-mart.support/hc/en-us/articles/52509852326681
[Measure to prevent recurrence]
In order to prevent similar events from occurring in the future, please consider the following methods.
- Take [Recommended measure to prevent the file corruption] described in the FAQ below.
* Resin does not start or keeps restarting. I would like to know the cause and workaround.
https://global.intra-mart.support/hc/en-us/articles/52509852326681
- Disable session_store of resin.properties(false)
A load of the writing of session information is reduced by setting the following.
<Example setting of resin.properties>
session_store : false
* Notes
- If session_store is disabled, session failover will not be performed.
- If you want to use session failover after disabling session_store, consider using the session management module.
* Introducing the Session Management Module
https://dev-portal.intra-mart.jp/cookbook/share_im_session_store/
-- Target ------------------------------------------------------------------
iAP/Accel Platform/All Updates
------------------------------------------------------------------------------
FAQID:625
Resin restarts with "exit reason: HEALTH (exit code=9)".