Hello everyone.
Our KNIME Server is working in AWS EC2 , for cost saving , we shutdown EC2 server in 10 pm and restart EC2 server in 9 am automatically.
on Friday of last week, Tomcat used almost all cpu after server started in 9 am, even after knime service restarted.
We found that tomcat’s H2 database(userconf.mv.db)corruption occurred in the server’s shutdown time. Tomcat was executing write operations to H2 database(userconf.mv.db) In the server’s shutdown time.
It said that a database corruption may occur in the H2 database for an abrupt server shutdown.
We solved the issue by using a default userconf.mv.db.
It said that for production environments, the H2 database is not supported and using an external database is recommended.
We want to know how to prevent the recurrence of this problem?
Do we have to build a program to stop knime service before shutting down EC2 server?
Thanks in advance.
Ryu