Hi guys, not sure if that Bahmni specific or generic OpenMRS (would assume generic OpenMRS), but as I’m starting a new server I see this error in the log.
WARN - BrokerService.checkSystemUsageLimits(1886) |2021-05-18 17:32:47,940| Store limit is 102400 mb, whilst the data directory: /usr/local/tomcat/.OpenMRS/activemq-data/localhost/KahaDB only has 10112 mb of usable space
ERROR - BrokerService.checkSystemUsageLimits(1925) |2021-05-18 17:32:47,944| Temporary Store limit is 51200 mb, whilst the temporary data directory: /usr/local/tomcat/.OpenMRS/activemq-data/localhost/tmp_storage only has 10112 mb of usable space
Didn’t know OpenMRS is using ActiveMQ for anything.
And since server startup is taking ages to start (20m+ , but I’m running on very minimal hardware) I’m wondering if that could be the source of such long startup time.
This is breaking docker installations too, i think we need a setting to trigger such a service off by default. i could reproduce the exact problem in docker and sdk.
sdk logs were:
INFO - LoggingAdvice.invoke(157) |2021-05-23T20:19:00,733| Exiting method savePrivilege
INFO - LoggingAdvice.invoke(117) |2021-05-23T20:19:11,540| In method SchedulerService.saveToMemento. Arguments:
INFO - LoggingAdvice.invoke(157) |2021-05-23T20:19:11,609| Exiting method saveToMemento
INFO - EhCacheManagerFactoryBean.destroy(192) |2021-05-23T20:19:11,839| Shutting down EhCache CacheManager
INFO - ServiceContext.startRefreshingContext(822) |2021-05-23T20:19:11,843| Refreshing Context
INFO - EhCacheManagerFactoryBean.afterPropertiesSet(134) |2021-05-23T20:20:40,966| Initializing EhCache CacheManager
WARN - BrokerService.checkSystemUsageLimits(1886) |2021-05-23T20:24:57,183| Store limit is 102400 mb, whilst the data directory: /Users/k-joseph/openmrs/test/activemq-data/localhost/KahaDB only has 1625 mb of usable space
ERROR - BrokerService.checkSystemUsageLimits(1925) |2021-05-23T20:24:57,187| Temporary Store limit is 51200 mb, whilst the temporary data directory: /Users/k-joseph/openmrs/test/activemq-data/localhost/tmp_storage only has 1625 mb of usable space
WARN - IdgenTask.run(32) |2021-05-23T20:25:00,329| Not running scheduled task. DaemonToken = null; enabled = false
java.lang.IllegalStateException: Filters cannot be added to context [/openmrs] as the context has been initialised
at org.apache.catalina.core.ApplicationContext.addFilter(ApplicationContext.java:849)
at org.apache.catalina.core.ApplicationContext.addFilter(ApplicationContext.java:828)
at org.apache.catalina.core.ApplicationContextFacade.addFilter(ApplicationContextFacade.java:454)
at org.openmrs.web.WebComponentRegistrar.setServletContext(WebComponentRegistrar.java:39)
at org.springframework.web.context.support.ServletContextAwareProcessor.postProcessBeforeInitialization(ServletContextAwareProcessor.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:415)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:897)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:879)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:889)
at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:845)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:638)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:618)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:257)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
May 23, 2021 8:27:10 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'openmrs'
INFO - ServiceContext.doneRefreshingContext(833) |2021-05-23T20:27:12,262| Done refreshing Context
Hello @k.joseph. Did you find a resolution for this? Is there a way to modify this limit? I am also seeing the same error and odoo is not loading, I’m just wondering if these are not related
ARN - BrokerService.checkSystemUsageLimits(1886) |2023-03-10T11:49:44,531| Store limit is 102400 mb, whilst the data directory: /opt/openmrs/activemq-data/localhost/KahaDB only has 41401 mb of usable space
11:49:44,531 WARN [BrokerService] Store limit is 102400 mb, whilst the data directory: /opt/openmrs/activemq-data/localhost/KahaDB only has 41401 mb of usable space
ERROR - BrokerService.checkSystemUsageLimits(1925) |2023-03-10T11:49:44,532| Temporary Store limit is 51200 mb, whilst the temporary data directory: /opt/openmrs/activemq-data/localhost/tmp_storage only has 41401 mb of usable space
11:49:44,532 ERROR [BrokerService] Temporary Store limit is 51200 mb, whilst the temporary data directory: /opt/openmrs/activemq-data/localhost/tmp_storage only has 41401 mb of usable space