Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.9
    • Component/s: CMIS, ZZ_Archive
    • Labels:
      None
    • Environment:
      Version: 4.1.3
      Database: Oracle
      App Server: Tomcat
      Mobile Version: Not Applicable
      OS: Ubuntu
      Workdesk Version: 4.1.1.1

      Description

      Customer reports that due to apparent bug in OpenCMIS there system becomes unresponsive.

      Reviewing memory utilization with JConsole and/or YourKit profiler shows huge amounts of memory being allocated and de-allocated in a short period of time and a lot of time is spent garbage collecting. So much time in fact that the server is unresponsive.

      There are many threads that are frozen and look like this (note they are not deadlocked):

      http-127.0.0.1-8080-1 <--- Frozen for at least 1m 48 sec
      com.ctc.wstx.sr.NsInputElementStack.push(String, String)
      com.ctc.wstx.sr.BasicStreamReader.handleStartElem(char)
      com.ctc.wstx.sr.BasicStreamReader.nextFromTree()
      com.ctc.wstx.sr.BasicStreamReader.next()
      org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.next(XMLStreamReader)
      org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.skip(XMLStreamReader)
      org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.parseCmisContent(XMLStreamReader)
      org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.parseEntry(XMLStreamReader)
      org.apache.chemistry.opencmis.server.impl.atompub.AtomEntryParser.parse(InputStream)
      org.apache.chemistry.opencmis.server.impl.atompub.ObjectService.create(CallContext, CmisService, String, HttpServletRequest, HttpServletResponse)
      sun.reflect.GeneratedMethodAccessor1253.invoke(Object, Object[])
      sun.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[])
      java.lang.reflect.Method.invoke(Object, Object[])
      org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(String, String, CallContext, CmisService, String, HttpServletRequest, HttpServletResponse)
      org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CallContext, HttpServletRequest, HttpServletResponse)
      org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(HttpServletRequest, HttpServletResponse)
      javax.servlet.http.HttpServlet.service(ServletRequest, ServletResponse)

        Attachments

        1. frozen-threads-wpcq9.txt
          45 kB
          Pavel Lungu
        2. fullpayload
          1 kB
          Scott Ashcraft

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  plungu Pavel Lungu (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days, 30 minutes
                    2d 30m

                      Structure Helper Panel