[ https://issues.apache.org/jira/browse/USERGRID-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Nine updated USERGRID-740: ------------------------------- Summary: Temp files from asset upload not removed, causing the file system to use all inodes. (was: Temp files from asset upload not removed) > 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 > > 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)