[ https://jira.fiware.org/browse/HELP-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez deleted HELP-13357:
----------------------------------
> [fiware-stackoverflow] Fiware CEP server stops responding
> ----------------------------------------------------------
>
> Key: HELP-13357
> URL: https://jira.fiware.org/browse/HELP-13357
> Project: Help-Desk
> Issue Type: Monitor
> Reporter: Backlog Manager
> Labels: cep, fiware, fiware-cep
>
> Created question in FIWARE Q/A platform on 01-09-2015 at 15:09
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/32333233/fiware-cep-server-stops-responding
> +Question:+
> Fiware CEP server stops responding
> +Description:+
> In developing in Fi-Cloud's CEP I've been having an issue that has been happening repeatedly. As I'm trying to develop a definition to perform a task, CEP's server and Authoring Tool stop responding, although ssh is still responsive.
> This issue happens as I develop. I'm using the AuthoringTool to alter the definition bit by bit and then I re-upload it to the server through the authoring tool's export feature.
> To reinitiate the proton with the new definition each time I alter it, I use Google's Postman with this single operation:
> -PUT (url:http://{ip}:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer)
> header: 'Content-Type' : 'application/json'; body : {"action": "ChangeDefinitions","definitions-url" : "/ProtonOnWebServerAdmin/resources/definitions/Definition_Name"}
> At the same time, I'm logged in with three ssh intances, one to monitor the files being created on /opt/tomcat10/sample/ and other things, and the other two to 'tail -f ' log files the definition writes to, as events are processed: one log for events recieved and another log for events detected by the EPAgent.
> I'm iterating through these procedures over and over as I'm developing and eventualy CEP server and the Authoring Tool stop responding.
> By "tailing" tomcat's log file (# tail -f /opt/tomcat10/logs/catalina.out) I can see that, when under these circumstances, if I attemp a:
> -GET (url: http://{ip}:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer)
> I get no response back and tomcat logs the following response:
> 11452100 [http-bio-8080-exec-167] ERROR org.apache.wink.server.internal.RequestProcessor - An unhandled exception occurred which will be propagated to the container.
> java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-167" java.lang.OutOfMemoryError: PermGen space
> Ssh is still responsive and I can look at tomcat's log this way.
> To get over this and continue, I exit ssh connections and restart CEP's instance in the Fi-Cloud.
> Is the procedure I'm using to re-upload and re-run the definition inapropriate? Should I take a diferent approach to developing?
> If you require more information please let me known.
> Thank you
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy