Hi All,
We may need to tune ThreadStackSize [1], before we run Java applications on
K8s. Default Linux JVM thread stack size is 1MB [1].
[2] http://www.oracle.com/technetwork/articles/java/
vmoptions-jsp-140102.html
On Sat, Oct 28, 2017 at 2:42 PM, Prasanna Dangalla
wrote:
> Hi,
>
> Added a
Hi,
Added a documentation JIRA[1] to track this.
[1] - https://wso2.org/jira/browse/DOCUMENTATION-6243
Thanks
*Prasanna Dangalla*
Senior Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware
*cell: +94 718 11 27 51*
*twitter: @prasa77*
On Fri, Oct 20, 2017 at 5:26 PM, Pu
Hi,
Yes, this is already there in the wso2server.sh. For Kubernetes and other
container management systems, we need to set these values as limits to
avoid getting issues in runtime.
Thank you!
On Fri, Oct 20, 2017 at 4:22 PM, Lakmal Warusawithana
wrote:
> Yes, you are correct. It will use defa
Yes, you are correct. It will use default value come in wso2server.sh.
On Fri, Oct 20, 2017 at 4:10 PM, Lakmal Warusawithana
wrote:
> Hi Abimaran,
>
> But not in the default docker images. Yes in K8S artifacts we have set the
> Xmx value. But again we need to clearly document it like why to chan
Hi Abimaran,
But not in the default docker images. Yes in K8S artifacts we have set the
Xmx value. But again we need to clearly document it like why to change? how
to change? ..etc.
On Fri, Oct 20, 2017 at 3:41 PM, Abimaran Kugathasan
wrote:
> Hi Lakmal,
>
> All of the container related images
Hi Lakmal,
All of the container related images will use the default startup script
shipped in the product to boot the image up, ex [1]. And, we are
setting -Xms256m -Xmx1024m for all the products.
-XX:MaxHeapSize option is equivalent to -Xmx. [2]
[1]:
https://github.com/wso2/kubernetes-apim/blob
Hi All,
If we do not set MaxHeapSize in JVM which runs inside docker it will set it
as 1/4 of the physical memory. But issue is, inside the docker it will read
as total physical memory of the HOST machine rather taking allocated memory
to that docker container. So if we do not properly set MaxHeap