Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault under cgroup limitation #56

Open
billietl opened this issue Dec 4, 2014 · 2 comments
Open

Segfault under cgroup limitation #56

billietl opened this issue Dec 4, 2014 · 2 comments

Comments

@billietl
Copy link

billietl commented Dec 4, 2014

Running xhprof in a cgroup-limited environment (using cpuset.cpus feature) causes xhprof to be killed by a segfault every time.

How to reproduce : easiest way is to create a lxc container with lxc.cgroup.cpuset.cpus = 0 on a multi-core computer and run scripts/xhprofile.php in it.

-$ pwd
~/xhprof/scripts
-$ ./xhprofile.php xhprofile.php 
setaffinity: Invalid argument
Segmentation fault

Expected behavior : it should run. Well, at least, it should not get a segfault.

Environment : debian, kernel 3.12, lxc 0.8

@SlavaValAl
Copy link

Hi @billietl ,
It seems I encountered the same issue. Did you figure out any workaround for this problem?

@druggo
Copy link

druggo commented Feb 28, 2018

ref: lxc/lxcfs#88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants