[ https://issues.apache.org/jira/browse/WSCOMMONS-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764896#action_12764896 ]
Rich Scheuerle commented on WSCOMMONS-506: ------------------------------------------ Hi Andreas, Wendy's solution exposes a timeout property that will ensure that an attachment file is cleaned up after that timeout expires. This is necessary to prevent the file system from being filled with attachment files. Your suggestion is to provide a property that is essentially a "keep until" property. This would ensure that the temporary file was kept around until at least the "keep until" property was expired. I think that is a great idea ! Andreas, can you open a separate JIRA for the "keep unitil" property and assign it to me or Wendy. Wendy, can you work on the "keep until" solution or perhaps you have a different idea. Thanks, Rich Scheuerle > Temporary copies of MTOM attachments are not deleted from the file system in > a timely manner > -------------------------------------------------------------------------------------------- > > Key: WSCOMMONS-506 > URL: https://issues.apache.org/jira/browse/WSCOMMONS-506 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Reporter: Wendy Raschke > Assignee: Rich Scheuerle > Attachments: WSCOMMONS-506.patch > > > When customers send MTOM attachments having a certain size, the Axis2 runtime > uses Axiom to make copies of these attachments and name them with a pattern > of AxisXXXXXX.att, where XXXXXX is an arbitrary sequence of integers. These > copies may not be deleted in a timely manner, and may be removed only when > the JVM exits. This can cause a lot of files to accumulate on the customer's > file system and eat up disk space, and some of these files can be quite large. > Note that the internal sizeThreshold property controls whether attachment > files are written to memory or as files to the disk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.