Hello Tai, Thanks for your reply.
Patch attached, for Debian Stable, following this commit for upstream version: https://github.com/mchehab/rasdaemon/commit/f1ea76375281001cdf4a048c1a4a24d86c6fbe48 It's 1 line change in 1 file (ras-events.c).
--- ras-events.c 2024-01-06 10:24:19.430022335 +0000 +++ ras-events.c 2023-12-11 13:22:37.473063914 +0000 @@ -328,7 +328,7 @@ static int get_num_cpus(struct ras_events *ras) { - return sysconf(_SC_NPROCESSORS_CONF); + return sysconf(_SC_NPROCESSORS_ONLN); #if 0 char fname[MAX_PATH + 1]; int num_cpus = 0;