<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class="">We’ve been using aerogear-unified-push on openshift large gear for some time. </div><div class=""><br class=""></div><div class="">We have two problems, which I cannot find any answers for. I’m in no way experienced on this field</div><div class=""><br class=""></div><div class="">1) Application goes offline once in a while - it appears it uses whole instance’s memory after some time, causing OutOfMemory error. This happens once every 1-2 weeks for us. So, I figured - let’s workaround these memory problems by restarting the app once a while, however:</div><div class="">2) Restarting application doest work. After I run restart from openshift console - cartridge appears to be restarted, wildfly is running, however browsing to /ag-push results in 404 Not Found. I need to manually use rhc-port-forward, then go to wildfly admin console and redeploy artifacts by uploading/enabling them. </div><div class="">3) This might be related to “control restart” output:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[<a href="http://xxx.rhcloud.com" class="">xxx.rhcloud.com</a> bin]\> ./control restart</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Restarting aerogear-push cart</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Stopping aerogear-push cart</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Sending SIGTERM to wildfly:462504 ...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Starting aerogear-push cart</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Found 127.10.62.129:8080 listening port</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Found 127.10.62.129:9990 listening port</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/var/lib/openshift/xxx/aerogear-push/standalone/deployments /var/lib/openshift/xxx/aerogear-push/bin</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/var/lib/openshift/xxx/aerogear-push/bin</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">CLIENT_MESSAGE: Artifacts in an unknown state: ./auth-server.war ./ag-push.war</span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px;" class="">Two war files in deployments folder are present, however they are in .undeployed status. Snapshots are not working for us either. The most important thing for us now, is to provide automatic means of restarting the cartridge, which would result in usable application. </span></div></body></html>