Bug 641371
Summary: | provisioning over RHN proxy is too slow | ||
---|---|---|---|
Product: | Red Hat Satellite Proxy 5 | Reporter: | Petr Sklenar <psklenar> |
Component: | Server | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 540 | CC: | cperry, jkastner, pnovotny |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Fixed in the 5.4.0 Release - GA'd 2010-10-27 | ||
Fixed In Version: | spacewalk-proxy-1.2.2-4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-10-28 15:02:00 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: | 487678, 608756 |
Description
Petr Sklenar
2010-10-08 14:41:22 UTC
I was trying psklenar setup and the it was slow even if broker received TCP_HIT or TCP_MEM from squid. Some benchmarking show that it take 7 sec between squid get HEAD request and actual response. checking /server-status claimed that the response was procesed within 1 sec (100ms - 900ms), so I think it is either rhn-proxy-redirect problem (because it is between rhn_parent and squid) or problem in peter local setup. I did the same with another sat540 and another rhn proxy and it was very slow too. So its not a setup issue. it is caused by https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=578854, we need to distinguish between HEAD where HEADER_CONTENT_LENGTH is not set by purpose and malformed server which do not send CONTENT_LENGTH on regular request. I will add snippet from proxy_broker.log: 2010/10/20 15:10:36 +02:00 2996 127.0.0.1: proxy/rhnShared._forwardHTTPBody('Response body size: ', -1) 2010/10/20 15:10:49 +02:00 3001 10.34.33.193: proxy/apacheHandler.cleanupHandler Basically if we try to read body of response from HEAD request, we get lag of 13-15 seconds for every such request. So we lost during kickstart 2 (first rpm header, then whole package) * number of packages * 15 sec, which is too much (aprox one or two hours) fixed in spacewalk.git commit 59d7a21b52a3ff52f7d5ff97044b06402dfebf9a cherrypicked to satellite.git as commit 0a387eafec7d5438ccdcf3d46cee07c4e758bd81 Verified. Provisioning over proxy with RHEL5-U5 took 11 minutes, with RHEL6Client 12 minutes. Both, Satellite and Proxy were running on RHEL5-U5 and were located on same network segment. The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford |