Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elassandra Starting Error on cpu.stat #401

Open
jmhrrrptvj opened this issue Feb 5, 2022 · 0 comments
Open

Elassandra Starting Error on cpu.stat #401

jmhrrrptvj opened this issue Feb 5, 2022 · 0 comments

Comments

@jmhrrrptvj
Copy link

Hi

When we are starting the elassandra service

Some error was thrown at OSProbe.java at line number : 415

assert lines != null && lines.size() == 3;

The method in OSProbe.java is:

  @SuppressForbidden(reason = "access /sys/fs/cgroup/cpu")
List<String> readSysFsCgroupCpuAcctCpuStat(final String controlGroup) throws IOException {
    final List<String> lines = Files.readAllLines(PathUtils.get("/sys/fs/cgroup/cpu", controlGroup, "cpu.stat"));
    assert lines != null && lines.size() == 3;
    return lines;
}

The cpu.stat file has the following lines:

/sys/fs/cgroup/cpu/cpu.stat file

nr_periods 0
nr_throttled 0
throttled_time 0
(We ran the cat command)

After reboot, in the following file there are two more entries getting added, and some of our servers are not getting rebooted due to this. Could you please help us why this cpu.stat file is having two more entries. As this file is Read only file, we are not able to edit the same. Could you please help us on this.

On /sys/fs/cgroup/cpu/cpu.stat file

nr_bursts 0
burst_time 0

The nr_bursts and burst_time if it's present in this file our Cassandra service is not getting rebooted/sys/fs/cgroup/cpu/cpu.stat file

nr_periods 0
nr_throttled 0
throttled_time 0
(We ran the cat command)

After reboot, in the following file there are two more entries getting added, and some of our servers are not getting rebooted due to this. Could you please help us why this cpu.stat file is having two more entries. As this file is Read only file, we are not able to edit the same. Could you please help us on this.

On /sys/fs/cgroup/cpu/cpu.stat file

nr_bursts 0
burst_time 0

The nr_bursts and burst_time if it's present in this file our Cassandra service is not getting rebooted

Could you please help us on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant