You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2013/07/10 23:09:48 UTC

[jira] [Commented] (UIMA-2753) The dd2spring generated Spring files accumulate in the temp dir

    [ https://issues.apache.org/jira/browse/UIMA-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705067#comment-13705067 ] 

Jerry Cwiklik commented on UIMA-2753:
-------------------------------------

Alternate approach is just to delete the file after initialization is done.
                
> The dd2spring generated Spring files accumulate in the temp dir
> ---------------------------------------------------------------
>
>                 Key: UIMA-2753
>                 URL: https://issues.apache.org/jira/browse/UIMA-2753
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>
> On UIMA-AS process startup, the provided deployment descriptors are passed through the dd2spring which generates a Spring context file used to initialize the UIMA-AS service. Once the initialization is done the context files can be removed. The dd2spring actually creates the context files as temp files and configures the files with removeOnExit(). In most cases this works, however when the UIMA-AS service is killed with -9, the temp files remain in the default temp dir accumulating over time. The DUCC runtime frequently kills the services to make room for another process so these files temp files do in fact accumulate in the temp dir. 
> It seems like the agent should spin a thread, check temp dir for old temp files and clean them up. The cleanup would have to be done via ducc_ling as the files are owned by users. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira