-
Notifications
You must be signed in to change notification settings - Fork 543
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
"god check" failure #5
Comments
there is some reason that the 2.6.24-xen kernels CN module just will not work with god. Can't really get good debugging information about it. However if you upgrade your kernel it will then work. Specifically on Slicehost you can upgrade your kernel through the slice manager. |
Using kernel 2.6.31 works. Now I have a separate issue with using Ruby 1.9.1, but will investigate that separately. Thanks! |
I'm having the same issue, my system configuration is the following: Ubuntu 8.04 Trying to stop a process with god causes god to hang and use 100% CPU. I'm not able to upgrade my kernel at the moment, so I guess I'll have to stick to polling for now. |
Using polling did not solve my issue. When I try to stop my watches, god almost always hangs on one of the processes, with the following being logged:
God freezes (with 100% cpu usage) right after outputting "process stopped". When only stopping single watches, it often works without saying "process stopped". However, it always hangs when "process stopped" is in the output. For now my workaround is to use:
For some reason this solves the issue. |
Having cn loaded is not enough. You have to make sure that your kernel was compiled with CONFIG_PROC_EVENTS enabled. Sadly this is not the case for example on the current Amazon Linux Image. EDIT: As of the March 2013 release, the Amazon Linux Image is configured to fully support the process events. |
To followup on what @ameuret said, connector support (cn) must be built-in to the kernel, and not as a module in order to enable PROC_EVENTS. Basic netlink support is still available so God will compile correctly but will not work (god check fails) since process events are missing. Specifically, the following should be in your kernel config:
I ran into this issue on Raspbian where connector support is built as a module and so process events are unavailable. |
Running "god check" results in:
The god log also says that events are not supported. However, "lsmod |grep cn" shows that it is loaded. It seems to me that god is incorrectly thinking that events are not supported on my system, or the documentation is incorrect.
Using Arch Linux, kernel 2.6.24-xen on Slicehost.
The text was updated successfully, but these errors were encountered: