Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10947

CPU at 100% when having nested comments (between 7 and 17 nested comments)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4.6, 4.5.0
    • None
    • None
    • 4.5 M5

    Description

      org.apache.commons.collections.map.AbstractReferenceMap#purgeBeforeRead:337
      org.apache.commons.collections.map.AbstractReferenceMap#containsKey:200
      org.apache.jackrabbit.core.state.ItemStateReferenceCache#isCached:131
      org.apache.jackrabbit.core.state.SharedItemStateManager#hasItemState:312
      org.apache.jackrabbit.core.state.XAItemStateManager#hasItemState:302
      org.apache.jackrabbit.core.state.SessionItemStateManager#hasItemState:182
      org.apache.jackrabbit.core.ItemManager#itemExists:301
      org.apache.jackrabbit.core.ItemManager#itemExists:522
      org.apache.jackrabbit.core.NodeImpl#hasNode:2283
      org.ametys.plugins.repository.data.repositorydata.impl.JCRRepositoryData#hasValue:494
      org.ametys.plugins.repository.data.repositorydata.RepositoryData#hasValue:357
      org.ametys.plugins.repository.data.type.RepositoryModelItemGroupType#read:38
      org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder#_getComposite:144
      org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder#_getComposite:97
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:235
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:483
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#isMultiple:392
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#_getParentValue:473
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getValueOfType:241
      org.ametys.plugins.repository.data.holder.impl.DefaultModelLessDataHolder#getComposite:94
      org.ametys.plugins.repository.data.holder.impl.DefaultModifiableModelLessDataHolder#getComposite:91
      org.ametys.cms.repository.comment.Comment#<init>:88
      org.ametys.cms.repository.comment.Comment#getComments:463
      org.ametys.cms.repository.comment.Comment#getComments:435
      org.ametys.cms.repository.comment.Comment#getSubComment:362
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:619
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.repository.comment.CommentsDAO#saxComment:626
      org.ametys.cms.content.ContentSaxer#saxContentComments:609
      org.ametys.cms.content.ContentSaxer#saxBody:184
      org.ametys.web.content.ContentSaxer#saxBody:57
      org.ametys.cms.content.ContentSaxer#saxContent:143
      org.ametys.cms.content.ContentGenerator#_saxContent:121
      org.ametys.cms.content.ContentGenerator#_generateContent:86
      org.ametys.cms.content.ContentGenerator#generate:70
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      org.apache.cocoon.components.source.SourceUtil#toSAX:101
      org.apache.cocoon.components.source.SourceUtil#parse:321
      org.apache.cocoon.sitemap.ContentAggregator#generate:125
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      org.apache.cocoon.components.source.SourceUtil#toSAX:101
      org.apache.cocoon.components.source.SourceUtil#toSAX:181
      org.apache.cocoon.components.source.SourceUtil#toSAX:140
      org.ametys.web.repository.PageGenerator#_saxSource:722
      org.ametys.web.repository.PageGenerator#_saxZoneItem:519
      org.ametys.web.repository.PageGenerator#_saxZoneItems:389
      org.ametys.web.repository.PageGenerator#_saxZone:316
      org.ametys.web.repository.PageGenerator#generate:237
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:782
      org.apache.cocoon.components.source.impl.SitemapSource#toSAX:414
      org.apache.cocoon.components.source.SourceUtil#toSAX:101
      org.apache.cocoon.components.source.SourceUtil#parse:321
      org.apache.cocoon.sitemap.ContentAggregator#generate:125
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483
      org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#handleCocoonRedirect:300
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#access$000:49
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector#cocoonRedirect:348
      org.apache.cocoon.environment.ForwardRedirector#redirect:60
      org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode#invoke:70
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      org.apache.cocoon.Cocoon#process:699
      org.ametys.runtime.servlet.RuntimeServlet#service:571
      javax.servlet.http.HttpServlet#service:741
      org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:231
      org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      org.apache.tomcat.websocket.server.WsFilter#doFilter:53
      org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:193
      org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      org.apache.catalina.core.StandardWrapperValve#invoke:202
      org.apache.catalina.core.StandardContextValve#invoke:96
      org.apache.catalina.authenticator.AuthenticatorBase#invoke:541
      org.apache.catalina.core.StandardHostValve#invoke:139
      

      Attachments

        Issue Links

          Activity

            People

              raphael Raphaël Franchet
              raphael Raphaël Franchet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: