Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-28684

Deleted resources may slow down Site Stats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: Sitestats
    • Labels:
      None
    • Previous Issue Keys:
      STAT-18

      Description

      NB - this comes from the Cambridge testing server, where the data is not always entirely stable, so we are not sure that this necessarily happens on real versions of Sakai. If this hasn't been seen on real versions, please just close.

      If a resource is deleted from a site, and there are a large number of transactions against that resource (e.g. lots of reads/revisions) then Site Stats will throw an exception for each transaction and this will probably slow down the page

      WARN: : failed to read resource: /group/c50c4b08-d361-4ccc-00e1-986782b05aef/CamComm Migration/IMS scrapes from William_s script/cbc.ims len: 26938771 : java.io.FileNotFoundException: /home/camtools-qa/tomcat/sakai/content/v1/2006/248/
      17/7743b8bc-d209-4dff-8043-a2e97fbce4c1 (No such file or directory) (2006-10-10 14:56:37,749 TP-Processor14_org.sakaiproject.content.impl.DbContentService)
      org.sakaiproject.exception.ServerOverloadException id=failed to read resource body
      at org.sakaiproject.content.impl.DbContentService$DbStorage.streamResourceBodyFilesystem(DbContentService.java:862)
      at org.sakaiproject.content.impl.DbContentService$DbStorage.streamResourceBody(DbContentService.java:822)
      at org.sakaiproject.content.impl.BaseContentService$BaseResourceEdit.streamContent(BaseContentService.java:8795)
      at uk.ac.cam.caret.sakai.cp.impl.ContentPackageResourceWrapper.verifyContent(ContentPackageResourceWrapper.java:194)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nfernandes Nuno Fernandes (Inactive)
                Reporter:
                hmtruscott Harriet Truscott (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code