On Tue, Apr 8, 2014 at 11:32 AM, Shammi Jayasinghe <[email protected]> wrote:

> Hi ,
>
> I think we should not ask the user to change the .sh file or .bat file
> when starting with the cassandra profile. What we can do is, as default
> cassandra server does, we need to fix MB in a way that , when we start the
> MB with Cassandra profile, it automatically allocates 1/3 of the total
> memory for MB. WDYT ?
>

We should be able to calculate required memory in the wso2server.sh.

Thanks,

Deependra.

>
> Thanks
> Shammi
>
>
> On Tue, Apr 8, 2014 at 11:03 AM, Nuwan Silva <[email protected]> wrote:
>
>> Hi All,
>>
>> With WSO2 MB 2.2.0 we have introduced profiles to start an internal
>> Apache Cassandra and Zookeeper. While starting with Cassandra profile this
>> starts a carbon server with Cassandra. According to the MB Tuning guide [1]
>> we can set the MAX_HEAP_SIZE for Apache Cassandra in cassandra-env.sh.
>>
>> AFAIK we do not pack this configuration file with WSO2 MB 2.2.0. Instead
>> cant we set the required memory parameters inside wso2server.sh it self?
>> any idea where we can set the required memory?
>>
>>  WDYT?
>>
>> [1]
>> https://docs.google.com/a/wso2.com/document/d/11Vpu2CQUyE-ZcEH-Y7uFI-MN6a9Dsx5_8m7s4NK0LMA/edit#
>> --
>>
>>
>> *Nuwan Silva*
>> *Senior Software Engineer - QA*
>> Mobile: +94779804543
>>
>> WSO2 Inc.
>> lean . enterprise . middlewear.
>> http://www.wso2.com
>>
>
>
>
> --
> Best Regards,
>
> *  Shammi Jayasinghe*
> Associate Tech Lead
> WSO2, Inc.; http://wso2.com,
> mobile: +94 71 4493085
>
>


-- 
Deependra Ariyadewa
WSO2, Inc. http://wso2.com/ http://wso2.org

email [email protected]; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'

*WSO2 - Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to