IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-21990

Attachment migration from DB to filesystem fails with either OOME or exhausted file handles

      Migration of the attachments out of the database onto the filesystem will cause a race between running out of memory and running out of file handles (from the spool files) if there are a large amount of attachments.

      This looks like it is due to using HQL to do the delete of all of the attachmentdata, which causes a find(...), which looks like it loads all of the entities.

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Confluence Data Center'
            1. Confluence Data Center
            2. CONFSERVER-21990

            Attachment migration from DB to filesystem fails with either OOME or exhausted file handles

                Migration of the attachments out of the database onto the filesystem will cause a race between running out of memory and running out of file handles (from the spool files) if there are a large amount of attachments.

                This looks like it is due to using HQL to do the delete of all of the attachmentdata, which causes a find(...), which looks like it loads all of the entities.

                        rthomas@atlassian.com Ryan
                        rthomas@atlassian.com Ryan
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        2 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            rthomas@atlassian.com Ryan
                            rthomas@atlassian.com Ryan
                            Affected customers:
                            0 This affects my team
                            Watchers:
                            2 Start watching this issue

                              Created:
                              Updated:
                              Resolved: