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

FIWARE.Question.Tech.Data.CEP.Proton CEP: 100% CPU usage after a few hours

    Details

      Description

      Created question in FIWARE Q/A platform on 17-02-2016 at 10:02
      Please, ANSWER this question AT http://stackoverflow.com/questions/35452086/proton-cep-100-cpu-usage-after-a-few-hours

      Question:
      Proton CEP: 100% CPU usage after a few hours

      Description:
      I have a Proton CEP instance deployed on my own server with 2 CPUs and 4GB RAM.

      After leaving it working overnight, CPU usage increases heavily, up to 100% of each core. The command being executed is:

      java -Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start

      Looking at the logs, I also see:

      Feb 17, 2016 10:00:00 AM com.ibm.hrl.proton.server.executorServices.SimpleThreadFactory$ProtonExceptionHandler uncaughtException
      SEVERE: Uncaught exception in thread: Thread[31516,5,main],exception: Java heap space
      Feb 17, 2016 10:02:31 AM com.ibm.hrl.proton.server.executorServices.SimpleThreadFactory$ProtonExceptionHandler uncaughtException
      SEVERE: Uncaught exception in thread: Thread[31643,5,main],exception: Java heap space

      Althought from htop it seems that up to 2 GB of RAM are still free.

      Is this normal?

      The same server is also running Orion, but that one is not experiencing issues.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2d 1 Backlog Manager 19/Feb/16 12:02 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 19/Feb/16 3:02 PM
        Answered Answered Closed Closed
        1d 3h 4m 1 Fabiana Fournier 20/Feb/16 6:06 PM

          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: