Skip to content
프로젝트

소개

Rasdaemon은 EDAC 추적 이벤트를 사용해 메모리 오류를 기록하는 RAS(신뢰성, 가용성 및 서비스 용이성) 로깅 도구입니다. EDAC는 i386 및 x86_64 아키텍처의 대부분의 칩셋에서 메모리 컨트롤러의 ECC 오류를 감지하는 Linux 커널 하위 시스템입니다. ARM과 같은 다른 아키텍처용 EDAC 드라이버도 있습니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

RAS Daemon

RAS Daemon (rasdaemon) monitors Linux kernel trace events related to Reliability, Availability, and Serviceability (RAS) errors.

Although it is a general-purpose tool, its primary goal is to improve the availability of systems used in data centers, including - but not limited to - high-performance computing (HPC), server farms, and cloud service environments.

It reports decoded events through syslog or journald, makes them available to consumer applications and supports recording them in SQL databases and reporting them through ABRT.

Its database support is provided through a modular framework that currently supports SQLite, MySQL, MariaDB, and PostgreSQL.

The primary source repository and issue tracker is currently at https://github.com/mchehab/rasdaemon/.

Its source code is mirrored at:

CI tests

RAS Daemon has two types of CI tests, automated via Github Actions:

  1. rasdaemon Actions, with tests several unit tests for both rasdaemon and ras-mc-ctl tools.

  2. rasdaemon-ci functional tests, which runs rasdaemon on a QEMU engine, using some mechanisms supported by QEMU to trigger events on it. The functional tests are handled in separate. CI tests usually runs on source code changes and are daily updated.

    Such tests are executed on two separate QEMU VMs. The status indicators below shows green if both VMs executed fine at the latest run:

    VM health

    Status

    Functional tests on x86_64

    func-x86-vm

    Functional tests on aarch64

    func-arm64-vm

    Fuzzy tests on x86_64

    weekly-x86-vm

    NOTE:

    Please note that functional tests create virtual machines configured to receive non-fatal errors and report them to rasdaemon. These tests use the latest stable versions of the Linux kernel and QEMU.

    By their nature, failures in these tests may be false positives, which are far more common than regressions in QEMU, the Linux kernel, or rasdaemon. Before reporting a regression, check the rasdaemon-ci logs. If the problem is in the toolset, open an issue against the affected tool rather than rasdaemon.

It follows the latest test results from both unit tests and end-to-end CI tests:

Component Test PASS FAIL
QEMU Functional qemu-ghes-pass qemu-ghes-fail
Linux Kernel Functional kernel-pass kernel-fail
Fuzzy weekly-kernel-pass weekly-kernel-fail
rasdaemon Features feature-pass feature-fail
Functional rasdaemon-pass rasdaemon-fail
Fuzzy weekly-rasdaemon-pass weekly-rasdaemon-fail
Unit tests unit-rasdaemon-pass unit-rasdaemon-fail
ras-mc-ctl Unit tests unit-ras-mc-ctl-pass unit-ras-mc-ctl-fail

Building

rasdaemon requires Meson 0.60 or newer, Ninja, a C compiler, libtraceevent, Python, and libpci. Database backends and unit tests have additional optional dependencies described in the building and installation guide.

Configure and build with:

$ make

Install from the configured build directory with:

$ sudo make install

Running

rasdaemon requires root permission to access Linux Kernel tracing nodes and other error events.

Run it in the foreground with --foreground or -f:

$ sudo rasdaemon -f

To record events on a database (by default SQLite3), add add --record or -r:

$ sudo rasdaemon -f -r

Checking errors

To see a summary of rasdaemon found errors (when --record is used):

$ sudo ras-mc-ctl db --errors

The backend defaults to SQLite. See the database guide for configuring SQLite, MySQL/MariaDB, or PostgreSQL. Use rasdaemon --help to list the options compiled into the installed binary.

Documentation

See https://mchehab.github.io/rasdaemon/

User's documentation

Developer's documentation

Security patches

관련 프로젝트 살펴보기

불러오는 중…