Skip to content

Elassandra Starting Error on cpu.stat #401

Description

@jmhrrrptvj

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions