Include a default config overlay for docker-best-practice values #105

Open
ebullient opened this Issue Jan 16, 2017 · 0 comments

Projects

None yet

1 participant

@ebullient
Member

a) turn off file polling (switch to mbean)
b) set coreThreads to a reasonable value (5) so the executor service isn't going off of potentially bad virtualized values.
c) turn off deferred application start

Something like the following in configDropins/defaults:

    <!-- turn off polling -->
    <config updateTrigger="mbean" />
    <applicationMonitor dropinsEnabled="false" updateTrigger="mbean"/>

    <!-- This is required to prevent the web apps from being lazily loaded -->
    <webContainer deferServletLoad="false"/>
    <!-- The JVM can get confused about available CPU in virtualized envs -->
    <executor coreThreads="5"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment