Warning message: mixed CGroups versions not supported? #758
-
Does anyone know what this warning message means? I wasn't able to find anything online about it.
Session information:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This comes from the parallelly package that future depends on. Specially, it originates from Now, why is there a warning? First, CGroups ("control groups") is a concept in Linux that is used on some systems to limit how much memory and how many CPU cores a software may use. For instance, although the machine might have 48 cores, the system might only allow the current process (here R) to use, say, 8 cores. This is particularly common on systems shared by many users. If you ask Second, there are two generations of CGroups: CGroups v1 ( Could you please share more about your system? Is it a personal, local machine, or is this happening on a compute cluster or similar? Also, could you please share the output of the following two commands: cat(readLines("/proc/self/cgroup"), sep = "\n") and parallelly:::getCGroupsMounts() That would help be start adding support for the mixed-CGroups-versions case. |
Beta Was this translation helpful? Give feedback.
-
I greatly appreciate your quick and in-depth reply! As you correctly predicted, calling My system is a personal machine, using Linux 6.12.8. Here is the output of the two commands (called from R in Konsole):
It appears that the issue involves PIA VPN, which mounts For what it's worth, the warning did not start appearing until somewhat recently (sometime within the last 3 weeks). I didn't update PIA VPN in that time, though I did update my system and the R packages. If the current behavior is to ignore CGroups settings, then usage of |
Beta Was this translation helpful? Give feedback.
This comes from the parallelly package that future depends on. Specially, it originates from
parallelly::availableCores()
thatplan(multisession)
relies on. If you callparallelly::availableCores()
alone, you should see the same warning.Now, why is there a warning?
First, CGroups ("control groups") is a concept in Linux that is used on some systems to limit how much memory and how many CPU cores a software may use. For instance, although the machine might have 48 cores, the system might only allow the current process (here R) to use, say, 8 cores. This is partic…