[ https://issues.apache.org/jira/browse/USERGRID-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645238#comment-14645238 ]
ASF GitHub Bot commented on USERGRID-740: ----------------------------------------- GitHub user GERey opened a pull request: https://github.com/apache/incubator-usergrid/pull/326 Added USERGRID-740 fix to two-dot-o You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-usergrid USERGRID-740-two-dot-o Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-usergrid/pull/326.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #326 ---- commit 0c9c142dba1b09614e3abbd641a04742bb184b50 Author: GERey <gre...@apigee.com> Date: 2015-07-28T23:46:51Z Added USERGRID-740 fix to two-dot-o ---- > Temp files from asset upload not removed, causing the file system to use all > inodes > ----------------------------------------------------------------------------------- > > Key: USERGRID-740 > URL: https://issues.apache.org/jira/browse/USERGRID-740 > Project: Usergrid > Issue Type: Bug > Reporter: Todd Nine > Assignee: George Reyes > Priority: Critical > Fix For: 2.1.0 > > > After running Usergrid 2.0 for over 1 month on a tomcat, we have saturated > the inodes of the disk on the tomcat machine. Our temporary files for > uploads are not getting removed. Files of this structure appear in > {code} > ls -lrt /var/cache/tomcat7/temp > -rw-r--r-- 1 tomcat tomcat 0 Jun 9 23:23 MIME377627531473294092.tmp > -rw-r--r-- 1 tomcat tomcat 0 Jun 9 23:23 MIME2634951521985073318.tmp > -rw-r--r-- 1 tomcat tomcat 0 Jun 9 23:23 MIME1066361445384372180.tmp > -rw-r--r-- 1 tomcat tomcat 0 Jun 9 23:23 MIME3554741621747313255.tmp > -rw-r--r-- 1 tomcat tomcat 0 Jun 9 23:23 MIME1805372544199883785.tmp > -rw-r--r-- 1 tomcat tomcat 0 Jun 9 23:23 MIME414525331725926400.tmp > {code} > We need to ensure that all temporary files are removed. Note that all the > files remaining are 0 bytes. This seems to be caused by an edge case when a > 0 byte file is uploaded, or possibly the upload is failing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)