Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8386677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:00:35+00:00 2026-06-09T18:00:35+00:00

On my linux server, any java program (even the Hello world) uses 100% of

  • 0

On my linux server, any java program (even the “Hello world”) uses 100% of cpu and is very very slow. Id does not depend on the java version, I have tried different versions of openjdk and sun jdk, both behave the same. How could I fix that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T18:00:37+00:00Added an answer on June 9, 2026 at 6:00 pm

    I have found the solution in this article http://blog.wpkg.org/2012/07/01/java-leap-second-bug-30-june-1-july-2012-fix/

    There is a great chance, this is caused by the “leap second kernel bug”. Firstly, check for the following in the dmesg

    [10703552.860274] Clock: inserting leap second 23:59:60 UTC
    

    To fix it, firstly stop the ntp client. On debian-like systems

    /etc/init.d/ntp stop
    

    Store the current time

    date -s now
    

    And test the java. If everything is working correctly, try to restart ntp service

    /etc/init.d/ntp start
    

    And test it again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to run a java program on a linux server in profiling mode.
I have a java program running on a linux server. I need to send
Does anyone have experience debugging java code (code lives on remote Linux server) using
I've got a very simple java program (J.java, see below) on my application server
I've a java web application running on an Tomcat server(Linux). In the production environment
I have a Java program that runs on Linux and telnets into a remote
I have a standalone Java problem running in a linux server. I started the
I need to decide between various Java technologies to install on a Linux server.
I have a linux server has an ad-hoc wireless network for clients to connect
I have a linux server, I am looking to convert a .wma file to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.