Skip to Content
avatar image
Former Member

TREX causes portal to hang

Hi friends,

Our EP7 SP10 portal hangs once in a while and on taking thread dumps we find that all our application threads were busy with Indexing activity. We have not defined any schedules for our trex. This is what we see in our thread dumps

"SAPEngine_Application_Thread[impl:3]_0" tid=0x80000001011b8308 nid=0x29 prio=10 in Object.wait()

at java.lang.Object.wait(Native Method)

- waiting on<0x800003ff82838a18> (a com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch$ParallelSearcher)

at java.lang.Thread.join(Thread.java:1001)

- locked<0x800003ff82838a18> (a com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch$ParallelSearcher)

at java.lang.Thread.join(Thread.java:1054)

at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch.internalSearchWithSession(FederatedSearch.java:456)

at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearch.searchWithSession(FederatedSearch.java:298)

at com.sapportals.wcm.control.util.search.SearchSessionBuilder.doSearchWithSession(SearchSessionBuilder.java:1226)

at com.sapportals.wcm.control.util.search.SearchSessionBuilder.buildSearchSession(SearchSessionBuilder.java:535)

at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:868)

at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:635)

at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:164)

at com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController.render(SimpleLayoutController.java:39)

at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1811)

at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)

at com.sapportals.wdf.stack.Pane.render(Pane.java:155)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)

at com.sapportals.wdf.WdfCompositeController.doInitialization(WdfCompositeController.java:282)

at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:660)

at com.sapportals.htmlb.AbstractCompositeComponent.render(AbstractCompositeComponent.java:41)

at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)

at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)

at com.sapportals.htmlb.rendering.DefaultFlowLayoutRenderer.render(DefaultFlowLayoutRenderer.java:29)

at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:986)

at com.sapportals.htmlb.Component.render(Component.java:150)

at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)

at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)

at com.sapportals.htmlb.rendering.DefaultFormRenderer.render(DefaultFormRenderer.java:39)

at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:986)

at com.sapportals.htmlb.Component.render(Component.java:150)

at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)

at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)

at com.sapportals.htmlb.rendering.DefaultDocumentRenderer.render(DefaultDocumentRenderer.java:69)

at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:986)

at com.sapportals.htmlb.Component.render(Component.java:150)

at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)

at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)

at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:595)

at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:291)

at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:231)

at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.render(GridLayoutRenderer.java:52)

at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:986)

at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:127)

at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)

at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)

at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:77)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:174)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

How can we avoid this hanging of our portal? What are these application threads busy with? and how do we fix this issue? any expert comments....

Your help is highly appreciated.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 22, 2007 at 03:26 PM

    Hi G,

    actually your thread hangs not during indexing but while performing a search. I have never seen a search thread causing the whole portal to hang like this though. Maybe there's a communication problem between your TREX and portal in those instances where the search thread is hanging.

    -Esther

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 05, 2007 at 04:18 PM

    G,

    I'm having a similar problem in our environment. Our Portal environment is NW'04 SPS19. We are not maxing out our application threads however. Query requests are sent to TREX for processing. The TREX server CPU max out for long periods of time. I have not been able to determine what's causing the problem.

    Have you made any headway on this issue?

    Add comment
    10|10000 characters needed characters exceeded