Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-4007

Some IMAP litterals were not cleaned up

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • IMAPServer
    • None

    Description

      What I noticed

      root@tmail-imap-smtp-9dc75475f-4dfc7:/# ls -lah /tmp
      total 17M
      drwxrwxrwt 3 root root  220 Feb 21 11:47 .
      drwxr-xr-x 1 root root   29 Feb 21 09:49 ..
      -rw------- 1 root root 252K Feb 21 11:47 FileBackedOutputStream4796294521529525936.tmp
      -rw------- 1 root root 6.3M Feb 21 11:47 FileBackedOutputStream5042970611980201980.tmp
      -rw------- 1 root root 111K Feb 21 11:47 FileBackedOutputStream9469184234067839554.tmp
      drwxr-xr-x 2 root root   60 Feb 21 09:49 hsperfdata_root
      -rw------- 1 root root 8.0M Feb 21 11:47 imap-literal14135829094410407687.tmp
      -rw------- 1 root root 253K Feb 21 11:47 imap-literal14825699277716575828.tmp
      -rw------- 1 root root 113K Feb 21 11:47 imap-literal17479090714550035642.tmp
      -rw------- 1 root root 200K Feb 21 11:47 imap-literal3284956234462346798.tmp
      -rw------- 1 root root 1.8M Feb 21 11:17 imap-literal7906819567048433417.tmp
      

      There a 30 min+ file that was not cleaned up.

      This is a very rare occurence.

      Looking at the code this could happend if the subscription is canceled while processing the APPEND command...

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                Slack

                  Issue deployment