Coder Social home page Coder Social logo

OpenJDK error with cgroups v2 about java HOT 6 CLOSED

corneil avatar corneil commented on May 5, 2024
OpenJDK error with cgroups v2

from java.

Comments (6)

dmikusa avatar dmikusa commented on May 5, 2024

I suspect that this will get resolved in the July 2022 quarterly updates. I can ask and try to confirm with our JVM Vendor.

In the meantime, you can adjust GC settings by setting the env variable JAVA_TOOL_OPTIONS when you run your application. Just include any GC settings you want and the JVM will read them from that env variable.

Alternatively, you could use the environment variables CNB and it would allow you to bake that env variable values for JAVA_TOOL_OPTIONS into the image itself. That way you only need to set it at build and it'll just apply at runtime.

from java.

corneil avatar corneil commented on May 5, 2024

The new releases are available. https://github.com/bell-sw/Liberica/releases/tag/11.0.16%2B8

from java.

dmikusa avatar dmikusa commented on May 5, 2024

Version https://github.com/paketo-buildpacks/java/releases/tag/v6.32.0 was cut about an hour ago and has the updated versions of JDK/JREs. That includes 11.0.16.

Please give it a try and let me know if you're still seeing this issue. thanks!

from java.

corneil avatar corneil commented on May 5, 2024

Thank you very much

from java.

corneil avatar corneil commented on May 5, 2024

@dmikusa-pivotal Does this mean the change will also be in the base image for Spring Boot?

from java.

dmikusa avatar dmikusa commented on May 5, 2024

Yes, usually the builder tiny/base/full images update about 15-20 mins after we publish. I just checked and they are updated. If you're not seeing the change, run a docker pull or make sure you set the pull-policy to always so it fetches new images.

from java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.