I think it's better to keep all JVM arguments as it is.

Thanks everyone!


On Wed, Sep 11, 2013 at 5:50 PM, Isuru Perera <[email protected]> wrote:

> Sorry, we need following.
>
>         -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
>
> But do we need,
>
>
> -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
> -XX:ErrorFile=repository/logs/hs_err_pid.log \
> -XX:OnError="nohup ./wso2server.sh &" \
>
>
>
>
> On Wed, Sep 11, 2013 at 5:49 PM, Isuru Perera <[email protected]> wrote:
>
>> Thanks Azeez!
>>
>> Do we need following parameters in ELB?
>>
>>         -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh
>> &" \
>>         -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
>>         -XX:ErrorFile=repository/logs/hs_err_pid.log \
>>         -XX:OnError="nohup ./wso2server.sh &" \
>>
>>
>>
>>
>> On Wed, Sep 11, 2013 at 4:52 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> I would want that to be there. If a user requires, they can themselves
>>> remove the -d64. I have never come across a support issue or user query
>>> where the user expressed concern over the -d64 parameter. This was done to
>>> get the best possible optimizations for the ELB.
>>>
>>> Azeez
>>>
>>>
>>> On Wed, Sep 11, 2013 at 3:47 PM, Isuru Perera <[email protected]> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I copied wso2server* scripts from Carbon 4.2.0 and added following
>>>> parameters specific to ELB. This also fixes
>>>> https://wso2.org/jira/browse/LB-99
>>>>
>>>> -Dwso2.loadbalancer=true
>>>> -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf
>>>> -DreverseProxyMode=true
>>>>
>>>> What shall we do about the original question regarding 
>>>> LB-72<https://wso2.org/jira/browse/LB-72>
>>>> ?
>>>>
>>>> Following are the JVM parameters currently used in ELB.
>>>>
>>>>         -d64 \
>>>>         -server \
>>>>         -Xms1500m -Xmx3000m \
>>>>         -XX:PermSize=256m -XX:MaxPermSize=512m \
>>>>         -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
>>>> -XX:-UseGCOverheadLimit \
>>>>         -XX:+CMSClassUnloadingEnabled \
>>>>         -XX:+OptimizeStringConcat \
>>>>
>>>> Discussed with Sameera and he said we should keep these in ELB.
>>>>
>>>> LB-72 <https://wso2.org/jira/browse/LB-72> just asks to remove "-d64".
>>>> How should we resolve this?
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> On Wed, Sep 11, 2013 at 11:25 AM, Isuru Perera <[email protected]> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I will be changing the scripts in ELB and we will update the ELB docs
>>>>> to specify recommended JVM parameters for production setup.
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 10, 2013 at 3:37 PM, Isuru Perera <[email protected]> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> This is regarding LB-72 <https://wso2.org/jira/browse/LB-72>
>>>>>>
>>>>>> I saw somewhere that ELB should use production recommended
>>>>>> configuration in wso2server.sh.
>>>>>>
>>>>>> I think, we could use the default values come with Carbon 4.2.0
>>>>>> scripts and update the docs to inform user about recommended parameters 
>>>>>> for
>>>>>> production.
>>>>>>
>>>>>> WDYT?
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> [1] https://wso2.org/jira/browse/LB-72
>>>>>>
>>>>>> --
>>>>>> Isuru Perera
>>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>> about.me/chrishantha
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Isuru Perera
>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>>> Lean . Enterprise . Middleware
>>>>>
>>>>> about.me/chrishantha
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Perera
>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>> Lean . Enterprise . Middleware
>>>>
>>>> about.me/chrishantha
>>>>
>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to