Skip to content

Warning message: mixed CGroups versions not supported? #758

Answered by HenrikBengtsson
skertberg asked this question in Q&A
Discussion options

You must be logged in to vote
Warning message:
In getCGroupsRoot(controller = controller) :
  Mixed CGroups versions are not supported:cgroup2’, ‘cgroup

This comes from the parallelly package that future depends on. Specially, it originates from parallelly::availableCores() that plan(multisession) relies on. If you call parallelly::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…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by skertberg
Comment options

You must be logged in to vote
2 replies
@HenrikBengtsson
Comment options

@HenrikBengtsson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants