You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "George Reyes (JIRA)" <ji...@apache.org> on 2015/07/15 22:34:04 UTC
[jira] [Assigned] (USERGRID-740) Temp files from asset upload not
removed, causing the file system to use all inodes.
[ https://issues.apache.org/jira/browse/USERGRID-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Reyes reassigned USERGRID-740:
-------------------------------------
Assignee: George Reyes
> 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)