Comments (7)
The docker-compose.yml needs to be adjusted. You need to specify CATALINA_PARAMETER1, CATALINA_PARAMETER_VALUE1, and so on to set the CATALINA_OPTS.
For Jira it's JVM_MINIMUM_MEMORY and JVM_MAXIMUM_MEMORY.
The default configuration if you don't specify additional environment variables:
Product | Java VM Settings |
---|---|
Confluence | -Xmx1024m -Xms1024m |
Jira | -Xms384m -Xmx768m |
from confluence.
Jira Image is configured differently. This changed recently: https://github.com/blacklabelops/jira#a-word-about-memory-usage
from confluence.
I'm confused.
- Are the
JVM_xxx_MEMORY
settings a replacement forCATALINA_OPTS
or in addition toCATALINA_OPTS
? - Does this change only apply for recent JIRA versions, or is it an issue with the container?
Also, per the original reason for this issue, their docs still say to set the min and max the same.
To cover off possible versioning issues, is this how the environment section should look like for these vars in the docker compose file?
environment:
JIRA_DATABASE_URL: <snip>
JIRA_DB_PASSWORD: <snip>
CATALINA_OPTS: -Xms1024m -Xmx1024m
JVM_MINIMUM_MEMORY: 1024m
JVM_MAXIMUM_MEMORY: 1024m
from confluence.
Looks like Jira uses the JAVA_OPTS environment variable. You can check this in /opt/jira/bin/setenv.sh in the Docker container.
You need to specify:
environment:
JIRA_DATABASE_URL: <snip>
JIRA_DB_PASSWORD: <snip>
SETENV_JVM_MINIMUM_MEMORY: 1024m
SETENV_JVM_MAXIMUM_MEMORY: 1024m
The docker-entrypoint script uses the environment variables you specify in the Docker compose file to configure the variables in setenv.sh for Confluence/Jira.
from confluence.
According to Atlassian documentation they changed the memory configuration also for Confluence:
https://confluence.atlassian.com/confkb/how-to-fix-out-of-memory-errors-by-increasing-available-memory-154071.html
Can somebody check if either CATALINA_OPTS or JVM_MINIMUM_MEMORY, JVM_MAXIMUM_MEMORY still works? Maybe we will need an issue here.
from confluence.
The Confluence image is fine. -Xmx1024m, -Xms1024m, and -XX:+UseG1GC are still configured via CATALINA_OPTS in /opt/atlassian/confluence/bin/setenv.sh. -XX:MaxPermSize is not set at all.
from confluence.
Thank you!
from confluence.
Related Issues (20)
- External PostgreSQL Server HOT 3
- xmlstarlet for Crowd SSO causing mangled seraph-config.xml ? HOT 17
- collation/character set must be setup to utf-8 due to https://jira.atlassian.com/browse/CONFSERVER-54305 HOT 5
- Broken user directory link between Confluence and JIRA containers HOT 2
- Docker Hub out of sync HOT 5
- Confluence 6.10 is out
- 2 references to Jenkins in README.md HOT 1
- Build problem with Confluence 6.12.0 HOT 2
- Suggestion: knob to enable G1GC collector on this and Jira
- Repository Deprecated HOT 23
- how to start blacklabelops/ confluence HOT 2
- Update to 6.13.4 HOT 4
- Update to 6.15.8 (there is a CRITICAL security vulnerability) HOT 1
- Http 404 not found after Confluence Update HOT 2
- Error when using OpenJ9 HOT 1
- teamatldocker vs blacklabelops HOT 2
- Cannot install it with docker-compose HOT 1
- Reset password HOT 1
- Is this project abandoned ? / provide new versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confluence.