Hi All

What is the recommended way to clear the /tmp directory. Is it recommended
to reset the path from
WorkDirectory>${carbon.home}/tmp/work</WorkDirectory> To
WorkDirectory>${carbon.home}/tmp</WorkDirectory> to clear the temp directory

Regards,Shavantha

Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300



On Mon, Aug 19, 2013 at 12:18 PM, Manoj Kumara <[email protected]> wrote:

> Hi,
>
> The problem was as in [1] the temp files on CARBON_HOME/tmp location keep
> grow and not get cleaned. To clean them using the housekeeping task I set
> the WorkDirectory to CARBON_HOME/tmp.
>
>
> [1] https://wso2.org/jira/browse/CARBON-11926
>
> Best Regards..
>
>
> Manoj Kumara
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
> Twitter:  http://twitter.com/ManKuma
> Mobile: +94713448188
>
>
> On Mon, Aug 19, 2013 at 11:33 AM, Manoj Kumara <[email protected]> wrote:
>
>> Hi Azeez,
>>
>> As you mentioned the approach addressed here seems to be problematic. Can
>> you please advice on this.
>>
>> Thanks,
>> Manoj
>>
>> Best Regards..
>>
>>
>> Manoj Kumara
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>> Twitter:  http://twitter.com/ManKuma
>> Mobile: +94713448188
>>
>>
>> On Fri, Jul 12, 2013 at 9:00 AM, Eranda Sooriyabandara 
>> <[email protected]>wrote:
>>
>>> HI All,
>>> G-Reg using the tmp for keeping the zip/gar extracted files until it
>>> added to the database. AFAIK there is no usage of tmp/work.
>>>
>>> thanks
>>> Eranda
>>>
>>>
>>> On Thu, Jul 11, 2013 at 6:43 PM, Sameera Jayasoma <[email protected]>wrote:
>>>
>>>> We also set the following system property in the wso2server.sh/batfiles.  
>>>> IMHO WorkDirectory element in the carbon.xml is a redundant
>>>> element.  We should get rid of it if there are no objections.
>>>>
>>>> -Djava.io.tmpdir="$CARBON_HOME/tmp"
>>>>
>>>>
>>>>
>>>> Thanks,
>>>> Sameera.
>>>>
>>>>
>>>>  On Thu, Jul 11, 2013 at 2:37 PM, Manoj Kumara <[email protected]> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> When observing on Carbon-JIRA issue [1] I observed that currently on
>>>>> carbon.xml the work directory for house keeping task is set as ,
>>>>>
>>>>>  <WorkDirectory>${carbon.home}/tmp/work</WorkDirectory>
>>>>>
>>>>> But currently our temp files are created inside CARBON_HOME/tmp
>>>>> directory and these files will not be cleaned during the clean-up process.
>>>>> The idea is to set workerDirectory to CARBON_HOME/tmp.
>>>>>
>>>>> Appreciate your guidance.
>>>>>
>>>>> [1] https://wso2.org/jira/browse/CARBON-11926
>>>>>
>>>>>
>>>>> Best Regards..
>>>>>
>>>>>
>>>>> Manoj Kumara
>>>>> Software Engineer
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Twitter:  http://twitter.com/ManKuma
>>>>> Mobile: +94713448188
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sameera Jayasoma,
>>>> Architect,
>>>>
>>>> WSO2, Inc. (http://wso2.com)
>>>> email: [email protected]
>>>> blog: http://sameera.adahas.org
>>>> twitter: https://twitter.com/sameerajayasoma
>>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Eranda Sooriyabandara*Senior Software Engineer;
>>> Integration Technologies Team;
>>> WSO2 Inc.; http://wso2.com
>>>  Lean . Enterprise . Middleware
>>>
>>> E-mail: eranda AT wso2.com
>>> Mobile: +94 716 472 816
>>> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
>>> Blog: http://emsooriyabandara.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to