Benoit Tellier created JAMES-4007:
-------------------------------------

             Summary: Some IMAP litterals were not cleaned up
                 Key: JAMES-4007
                 URL: https://issues.apache.org/jira/browse/JAMES-4007
             Project: James Server
          Issue Type: Bug
          Components: IMAPServer
            Reporter: Benoit Tellier


h3. What I noticed

{code:java}
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
{code}

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...




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to