Re: [Dev] Tenant Cleanup Interval

2015-05-23 Thread Kalpa Welivitigoda
Hi Malaka,

Tenant configuration was introduced to carbon xml with the tenant eager
loading feature. It was intended to allow tenant idle time configuration in
the case of tenant lazy loading as well.

The issue is that MultitenantServerManager reads the system property
tenant.idle.time before TenantLoadingConfig reads the carbon xml and set
the tenant idle time as the system property. Hence the IdleTime
configuration in carbon xml is not effective ATM. Tenants will be unloaded
after the time specified with -Dtenant.idle.time, else, after the default
of 30 minutes. Created a public jira [1].

[1] https://wso2.org/jira/browse/CARBON-15253

On Sat, May 23, 2015 at 8:15 AM, Malaka Silva  wrote:

> Thx guys.
>
> So the entry in carbon.xml does not work. If so should we remove it?
>
> On Fri, May 22, 2015 at 12:04 PM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> Hi Bathiya,
>>
>> Its also the same as in latest kernel versions.
>>
>> Thank you.
>>
>> On Fri, May 22, 2015 at 12:00 PM, Bhathiya Jayasekara 
>> wrote:
>>
>>> Hi Malaka,
>>>
>>> In carbon 4.2.0, it can be done with below argument in wso2server.sh.
>>> Not sure about latest kernels.
>>>
>>> -Dtenant.idle.time=1 \
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Fri, May 22, 2015 at 11:31 AM, Malaka Silva  wrote:
>>>
 Hi,

 Can we change the default value for $subject.

 I tried setting following in carbon.xml. It does not seem to be working.

 
 
 
 1
 
 
 
 

 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 

 Save a tree -Conserve nature & Save the world for your future. Print
 this email only if it is absolutely necessary.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Shashika Prabath Karunatilaka,
>> Software Engineer,
>> WSO2, Inc: http://wso2.com/
>> mobile : +94 77 7487792
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> 
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Best Regards,

Kalpa Welivitigoda
Software Engineer, WSO2 Inc. http://wso2.com
Email: kal...@wso2.com
Mobile: +94776509215
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tenant Cleanup Interval

2015-05-22 Thread Malaka Silva
Thx guys.

So the entry in carbon.xml does not work. If so should we remove it?

On Fri, May 22, 2015 at 12:04 PM, Shashika Karunatilaka 
wrote:

> Hi Bathiya,
>
> Its also the same as in latest kernel versions.
>
> Thank you.
>
> On Fri, May 22, 2015 at 12:00 PM, Bhathiya Jayasekara 
> wrote:
>
>> Hi Malaka,
>>
>> In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
>> sure about latest kernels.
>>
>> -Dtenant.idle.time=1 \
>>
>> Thanks,
>> Bhathiya
>>
>> On Fri, May 22, 2015 at 11:31 AM, Malaka Silva  wrote:
>>
>>> Hi,
>>>
>>> Can we change the default value for $subject.
>>>
>>> I tried setting following in carbon.xml. It does not seem to be working.
>>>
>>> 
>>> 
>>> 
>>> 1
>>> 
>>> 
>>> 
>>> 
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>



-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/


Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tenant Cleanup Interval

2015-05-21 Thread Shashika Karunatilaka
Hi Bathiya,

Its also the same as in latest kernel versions.

Thank you.

On Fri, May 22, 2015 at 12:00 PM, Bhathiya Jayasekara 
wrote:

> Hi Malaka,
>
> In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
> sure about latest kernels.
>
> -Dtenant.idle.time=1 \
>
> Thanks,
> Bhathiya
>
> On Fri, May 22, 2015 at 11:31 AM, Malaka Silva  wrote:
>
>> Hi,
>>
>> Can we change the default value for $subject.
>>
>> I tried setting following in carbon.xml. It does not seem to be working.
>>
>> 
>> 
>> 
>> 1
>> 
>> 
>> 
>> 
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Shashika Prabath Karunatilaka,
Software Engineer,
WSO2, Inc: http://wso2.com/
mobile : +94 77 7487792
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Tenant Cleanup Interval

2015-05-21 Thread Bhathiya Jayasekara
Hi Malaka,

In carbon 4.2.0, it can be done with below argument in wso2server.sh. Not
sure about latest kernels.

-Dtenant.idle.time=1 \

Thanks,
Bhathiya

On Fri, May 22, 2015 at 11:31 AM, Malaka Silva  wrote:

> Hi,
>
> Can we change the default value for $subject.
>
> I tried setting following in carbon.xml. It does not seem to be working.
>
> 
> 
> 
> 1
> 
> 
> 
> 
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> 
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Tenant Cleanup Interval

2015-05-21 Thread Malaka Silva
Hi,

Can we change the default value for $subject.

I tried setting following in carbon.xml. It does not seem to be working.




1





-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/


Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev