Bug 126647
| Summary: | htt_server -d infinite loop | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Warren Togami <wtogami> |
| Component: | im-sdk | Assignee: | Akira TAGOH <tagoh> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dmalcolm, eng-i18n-bugs |
| Target Milestone: | --- | Keywords: | i18n |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 11.4-69.svn1833 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-08-25 09:35:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268, 125997 | ||
should be fixed in 11.4-69.svn1833. the changes is: - provides the useful information on syslog why htt_server died - don't try to run htt_server unlimitedly, try 5 times by default. close this then. *** Bug 131514 has been marked as a duplicate of this bug. *** |
Description of problem: If /etc/hosts is missing "localhost", htt_server -d fails with the following message. Fail to getaddrinfo:localhost, 9010 Failed to create any sockets for localhost:9010 ... exit. When started with "service IIim start", this then causes 100% CPU usage as the htt process loops with the following. clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf70138c8) = 26430 waitpid(26430, [{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0) = 26430 --- SIGCHLD (Child exited) @ 0 (0) --- This flaw is minor as it was only exposed by misconfiguration caused by another system-config-* tool, however im-sdk in the long run should be more robust than this. FC3 Target.