Hi all,

I expect to be at the right place for my question...

We are hosting Java micro services exposed as docker containers (Spring Boot applications inside) inside Mesos....

We face 2 major problems:

- hardware isolation (number of cores seen by Java Virtual Machines) makes our applications go crazy because JVM sees all cores and not the only ones given in the Mesos config parameters as a consequence GC heuristics are wrong and  some config values in some libraries are false too (Undertow web server spawns 8*number of cores as workers thread pool)...

In Linux since the 2.4.19 kernel we have the per process namespace option to limit the hardware vision of any container... What would  be the solution on Mesos ?


- CPU starvation : some micro services do not seem to have the required CPU time to work, what kind of advices could you give me to have a better understanding regarding this problem....

Statement: we can see very long partial GC times (about 4 seconds) , standard times would be about 50ms....


Thanks for your help

Kind regards

Jerome

Reply via email to