Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1108

Longetivity test issu: VMs spawned and Stratos threw OutOfMemoryError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0 Alpha
    • 4.1.0 RC3
    • CEP
    • None

    Description

      We have observed this issue on multiple testbeds where we observed VMs were being re-spawn after Stratos has been running for about 7-9 days. Wso2carbon log shows numerous OutOfMemoryError. Memory dump was auto-generated when this happened.

      TID: [0] [STRATOS] [2014-09-07 03:43:48,708] ERROR

      {org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor} - GC overhead limit exceeded {org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor}


      java.lang.OutOfMemoryError: GC overhead limit exceeded
      at java.util.concurrent.Executors.callable(Executors.java:369)
      at java.util.concurrent.FutureTask.<init>(FutureTask.java:152)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.<init>(ScheduledThreadPoolExecutor.java:207)
      at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:527)
      at org.apache.stratos.cep.extension.SecondDerivativeFinderWindowProcessor.run(SecondDerivativeFinderWindowProcessor.java:156)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        1. CEP_STRATOS_OOM.patch
          8 kB
          Manula Chathurika Thantriwatte

        Issue Links

          Activity

            People

              lasindu Lasindu Charith
              manulac Manula Chathurika Thantriwatte
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: