| Summary: | On OpenShift Enterprise 2.0 installation, oo-diagnostics -v -w 1 complains about kernel.sem semaphores too low: 128 < 512 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jan Pazdziora <jpazdziora> |
| Component: | Containers | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED DEFERRED | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.0 | CC: | bleanhar, jpazdziora, libra-onpremise-devel, lmeyer |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-21 19:33:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Pazdziora
2013-12-19 06:47:04 UTC
That didn't use to happen. I'll have to figure out what changed. This shouldn't happen at all. When you use openshift.sh, it sets the semaphores higher, and has for as long as we've had it I think. See:
configure_sysctl_on_node()
{
set_sysctl kernel.sem '250 32000 32 4096' 'Accomodate many httpd instances for OpenShift gears.'
Now, this doesn't take effect until system reboot (or there's a sysctl option to put it into effect). However the instructions are to reboot after install. Are you running this after a reboot or before?
(In reply to Luke Meyer from comment #5) > This shouldn't happen at all. When you use openshift.sh, it sets the > semaphores higher, and has for as long as we've had it I think. See: > > configure_sysctl_on_node() > { > set_sysctl kernel.sem '250 32000 32 4096' 'Accomodate many httpd > instances for OpenShift gears.' > > > Now, this doesn't take effect until system reboot (or there's a sysctl > option to put it into effect). However the instructions are to reboot after > install. Are you running this after a reboot or before? Yeah, thank you for he catch, it was the "not rebooting" thing. I cannot reasonably reboot after installation so that was the cause of the bug. Running sysctl -p fixes the problem. I wonder if the openshift.sh could do that automatically? I'm going to close this as DEFERRED. If it ever happens it will be part of this PR: https://github.com/openshift/openshift-extras/pull/311 |