Unknown System Errors
Asked by Brandon Viertel:

We recently upgraded our Confluence instance from 5.8.18 to 6.4.3. Our Confluence instance is reachable and functional, but it is crawling along with errors in the backend. Our content indexing is insanely slow (180k records at 12 hours as opposed to 1 hour before the upgrade) and the backend is exploding with errors. Here is a list of errors we are seeing, any help would be greatly appreciated:

* \[Caesium-1-2\] \[engine.query.spi.HQLQueryPlan\] performList HHH000180: FirstResult/maxResults specified on polymorphic query; applying in memory!

* \[impl.schedule.caesium.JobRunnerWrapper\] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse\[runOutcome=ABORTED,message='LaaS performance logging is turned off'\]

* This one is a massive Java error:  
  2018-02-28 14:40:42,085 WARN \[ajp-nio-8009-exec-405\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:

  -\>\[null\]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1637244781)

  -- url: /plugins/theme/engine/theme-resources.action \| traceId: f1ab943da4e3b791 \| userName: anonymous

  2018-02-28 14:40:42,088 ERROR \[ajp-nio-8009-exec-405\] \[atlassian.confluence.servlet.ConfluenceServletDispatcher\] sendError Could not execute action

  -- url: /plugins/theme/engine/theme-resources.action \| traceId: f1ab943da4e3b791 \| userName: anonymous

  com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: No bean named 'parentSpaceManager' is defined  

  Request Unique ID : 1f894dc0-3bfc-4dcd-9f74-0c1e81afb03e

  --------------------------

  JVM Stats

  --------------------------

  usedMemory = 3240376536  
  usedMemoryInMegabytes = 3090  
  availableHeap = 3202074408  
  freeMemoryInMegabytes = 3053  
  allocatedHeap = 6442450944  
  freeAllocatedHeap = 3202074408  
  totalMemory = 6442450944  
  totalMemoryInMegabytes = 6144  
  availablePermGen = 0  
  maxPermGen = -1  
  maxHeap = 6442450944  
  usedHeap = 3240376536  
  freeMemory = 3202074408  
  usedPermGen = -1  
  --------------------------  
  Request Information  
  --------------------------  
  URL: <https://answers.syr.edu/500page.jsp>  
  Scheme: https  
  Server: answers.syr.edu  
  Port: 443  
  URI: /500page.jsp  
  Context Path:  
  Servlet Path: /500page.jsp  
  Path Info: null  
  Query String: skinId=ANSWERSHOME\&key=Ensemble\&resource=importcss\&hash=1519658425282szh_CN7402131c587a84e4ee088cb3d1cec7ecd765481c9c798_  
  --------------------------  
  Attributes  
  --------------------------  
  javax.servlet.forward.request_uri: /plugins/theme/engine/theme-resources.action  
  javax.servlet.forward.context_path:  
  javax.servlet.forward.servlet_path: /plugins/theme/engine/theme-resources.action  
  javax.servlet.forward.query_string: skinId=ANSWERSHOME\&key=Ensemble\&resource=importcss\&hash=1519658425282szh_CN7402131c587a84e4ee088cb3d1cec7ecd765481c9c798_  
  javax.servlet.error.status_code: 500  
  com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@766acd9b  
  com.opensymphony.sitemesh.APPLIED_ONCE: true  
  __cleanup_recursion_counter: 0  
  com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true  
  atlassian.core.seraph.original.url: /500page.jsp?skinId=ANSWERSHOME\&key=Ensemble\&resource=importcss\&hash=1519658425282szh_CN7402131c587a84e4ee088cb3d1cec7ecd765481c9c798_  
  com.atlassian.labs.botkiller.BotKillerFilter: true  
  com.atlassian.gzipfilter.GzipFilter_already_filtered: true  
  Confluence-Request-Time: 1519848956375  
  com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered: true  
  org.apache.tomcat.util.net.secure_protocol_version: TLSv1.2  
  javax.servlet.request.key_size: 256  
  webwork.valueStack: com.opensymphony.xwork.util.OgnlValueStack@25ff2525  
  confluence.themecontext:  
  com.atlassian.confluence.themes.ThemeContext@66a6b95f  
  javax.servlet.error.message:  
  javax.servlet.error.servlet_name: action  
  javax.servlet.request.cipher_suite: ECDHE-RSA-AES256-GCM-SHA384  
  com.atlassian.confluence.security.websudo.MessagesDecoratorFilter__already_filtered__: true  
  com.opensymphony.sitemesh.USINGSTREAM: false  
  B3-TraceId: e022edc3d966be  
  loginfilter.already.filtered: true  
  javax.servlet.jsp.jspException: com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: No bean named 'parentSpaceManager' is defined  
  javax.servlet.error.request_uri: /plugins/theme/engine/theme-resources.action  
  com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true  
  com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true  
  javax.servlet.error.exception: com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: No bean named 'parentSpaceManager' is defined  
  os_securityfilter_already_filtered: true  
  com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true  
  com.atlassian.confluence.util.profiling.ConfluenceProfilingStrategy.splits: \[\]  
  --------------------------  
  Parameters  
  --------------------------  
  skinId : ANSWERSHOME  
  key : Ensemble  
  resource : importcss  
  hash :  
  1519658425282szh_CN7402131c587a84e4ee088cb3d1cec7ecd765481c9c798_  
  caused by: com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: No bean named 'parentSpaceManager' is defined  
  at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:79)  
  caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'parentSpaceManager' is defined  
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)  

* \[ajp-nio-8009-exec-433\] \[common.error.jersey.ThrowableExceptionMapper\] toResponse Uncaught exception thrown by REST service: Object of class \[com.atlassian.confluence.pages.Page\] with identifier \[58916873\]: optimistic locking failed; nested exception is net.sf.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : \[com.atlassian.confluence.pages.Page#58916873\]  

  org.springframework.orm.hibernate.HibernateOptimisticLockingFailureException: Object of class \[com.atlassian.confluence.pages.Page\] with identifier \[58916873\]: optimistic locking failed; nested exception is net.sf.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : \[com.atlassian.confluence.pages.Page#58916873\]
* \[Caesium-1-1\] \[pdfbox.pdmodel.font.PDTrueTypeFont\] \<init\> Using fallback font 'LiberationSans' for 'TimesNewRomanPS-ItalicMT'

Any assistance would be excellent.

Thanks,

Brandon


Answers:
author: AnnWorley
body: Slow performance can be caused by such a wide variety of variables that we need to make a more comprehensive investigation. I created a support ticket on your behalf - you should see an email from the portal soon.

comments: author: Pablo Ronco
body: How was this resolved? I just updated to confluence 6.13 and have more or less the same errors.

I just managed to resolve this one:

* \[impl.schedule.caesium.JobRunnerWrapper\] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse\[runOutcome=ABORTED,message='LaaS performance logging is turned off'\]

By disabling the LaaS logging, however I don't really get what is the implication.


Tags: performance