Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4662

FIWARE.Question.Tech.Data.CEP.Fiware CEP server stops responding‏

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 01-09-2015 at 15:09
      Please, ANSWER this question AT http://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

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-05 18:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-05 18:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-05 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-05 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-06 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-06 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-06 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-06 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: