Remote Search crawler fails during the crawls to Portal8.5

Hi,

We are having HCL DX 8.5 CF16 as one node cluster to be used as dedicated source of Portal content. An external search (Watson) is used to crawl the site on this dedicated Portal server. There are around 30 WCM lib to be crawled and indexed. We are observing after certain amount of time the crawl fails and it fails to a particular WCM lib. So far we have got below exceptions from the logs. We have checked server resources and didn't find high CPU or Memory usage during the crawl. Is there a case of timeout between seedlist & remote search server? Is there any other way I can find out more details on what's causing this?

[1/8/21 22:55:29:813 CST] 00069327 SystemErr R FATAL ERROR: 'com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write'

:OutputStream encountered error during write

[1/8/21 23:10:11:512 CST] 0006934c SystemErr R SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [SEEDLISTAPI0002E] Resource Bundle: [com.ibm.ilel.seedlist.resources.SeedlistAPIMessages] SeedlistMessage Text: [] SeedlistMessage Arguments: Arg0: String: [SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [] Resource Bundle: [] SeedlistMessage Text: [EJQHE0026E: A crawler tried to send a second request to fetch remaining WCM contents for a site area ([Ljava.lang.String;@d61cd8f0). Unfortunately there was no cache key, which could mean that the crawler has been stopped manually before or there might have been an unexpected exception. As this is not a valid scenario. you need to re-crawl your site.]]

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.workplace.wcm.seedlist.retriever.RetrieverServiceImpl.getDocuments(RetrieverServiceImpl.java:583)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.workplace.wcm.seedlist.retriever.RetrieverServiceImpl.getDocuments(RetrieverServiceImpl.java:663)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.deere.u90.dpath.custom.wcm.seedlist.CustomWCMRetrieverService.processDefaultImplementation(CustomWCMRetrieverService.java:154)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.deere.u90.dpath.custom.wcm.seedlist.CustomWCMRetrieverService.getDocuments(CustomWCMRetrieverService.java:64)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ilel.seedlist.service.actions.GetDocumentsAction.execute(Unknown Source)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ilel.seedlist.service.actions.Action.retrieve(Unknown Source)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ilel.seedlist.service.actions.EntriesAction.retrieve(Unknown Source)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ilel.seedlist.service.SeedlistService.handleRequest(Unknown Source)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.lotus.search.providers.content.seedlist.servlet.SearchSeedlistServlet.handleRequest(SearchSeedlistServlet.java:257)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.lotus.search.providers.content.seedlist.servlet.SearchSeedlistServlet.doGet(SearchSeedlistServlet.java:180)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:562)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:255)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.wps.resolver.servlet.ContentHandlerPortal.doFilter(ContentHandlerPortal.java:200)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.wps.resolver.servlet.AbstractFilter.doFilter(AbstractFilter.java:103)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.lotus.search.providers.content.seedlist.servlet.VirtualPortalFilter.doFilter(VirtualPortalFilter.java:131)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1187)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:694)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)

[1/8/21 23:10:11:514 CST] 0006934c SystemErr R Caused by: SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [] Resource Bundle: [] SeedlistMessage Text: [EJQHE0026E: A crawler tried to send a second request to fetch remaining WCM contents for a site area ([Ljava.lang.String;@d61cd8f0). Unfortunately there was no cache key, which could mean that the crawler has been stopped manually before or there might have been an unexpected exception. As this is not a valid scenario. you need to re-crawl your site.]

I suggest:

-Verify no other crawlers are crawling portal at the same time.

-Implement this tracestring for additional clues during the crawl:

com.ibm.workplace.wcm.seedlist.retriever.*=all

-Use the portal crawler to crawl the library in question only, using the ootb seedlist. Any issues seen?

Hi John,

Thanks for your reply. I did enable above mentioned traces and reproduced the issue. I have attached trace.log and systemout.log here for your review, if you can.

[1/15/21 21:10:11:380 CST] 00010524 SystemErr R SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [SEEDLISTAPI0002E] Resource Bundle: [com.ibm.ilel.seedlist.resources.SeedlistAPIMessages] SeedlistMessage Text: [] SeedlistMessage Arguments: Arg0: String: [SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [] Resource Bundle: [] SeedlistMessage Text: [EJQHE0026E: A crawler tried to send a second request to fetch remaining WCM contents for a site area ([Ljava.lang.String;@8622c958). Unfortunately there was no cache key, which could mean that the crawler has been stopped manually before or there might have been an unexpected exception. As this is not a valid scenario. you need to re-crawl your site.]]

Here are some more facts around issue which may help understand the overall problem.

1. We have multiple WCM libraries that get crawled at different time slots in a day (normally an hour or two apart)

2. We run the crawls on Monday, Wednesday & Friday every week to provide updated results to our customer portal. Out of this on on Friday the crawl gets failed.

3. Crawl gets failed on a specific WCM library R4_Content_en_AU at specific time - between 9:00 PM CST & 9:10 PM CST.

Please let me know if you can spot out anything from the logs or want me to enable any further traces that should give more insights.

Thanks

SystemOut_21.01.15_21.56.53.log.ziptrace_21.01.15_23.05.38.log.zip

Hello Mihir,

I imagine that you are using a WCM seedlist to crawl the WCM libraries within Watson Content Analytics.

To get a bit more information on the roots of the exception you see in the logs, I would enable the following:

com.ibm.lotus.search.providers.content.seedlist.*=all:com.ibm.workplace.wcm.seedlist.*=all:com.ibm.workplace.wcm.services.*=all:com.ibm.ilel.*=all

That should give us insight into this exception below, including which site area the crawl fails at.

SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [SEEDLISTAPI0002E] Resource Bundle: [com.ibm.ilel.seedlist.resources.SeedlistAPIMessages] SeedlistMessage Text: [] SeedlistMessage Arguments: Arg0: String: [SeedlistException: SeedlistMessage0: SEVERITY_ERROR: SeedlistMessage ID: [] Resource Bundle: [] SeedlistMessage Text: [EJQHE0026E: A crawler tried to send a second request to fetch remaining WCM contents for a site area ([Ljava.lang.String;@d61cd8f0). Unfortunately there was no cache key, which could mean that the crawler has been stopped manually before or there might have been an unexpected exception. As this is not a valid scenario. you need to re-crawl your site.]]

[1/8/21 23:10:11:513 CST] 0006934c SystemErr R at com.ibm.workplace.wcm.seedlist.retriever.RetrieverServiceImpl.getDocuments(RetrieverServiceImpl.java:583)

I also strongly recommend that you open a case with us so we can do a deep dive into the data.