Jerry Cwiklik created UIMA-2753:
-----------------------------------

             Summary: 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: DUCC
            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

Reply via email to