View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008076 | CentOS-7 | curl | public | 2015-01-14 12:36 | 2015-07-24 16:11 |
Reporter | schlitzered | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | CentOS | OS Version | 7.0.1406 |
Product Version | 7.0-1406 | ||||
Summary | 0008076: libcurl 7.29 slow on dns resolution | ||||
Description | libcurl adds ~ 150ms latency on each request compared to the version delivered in CentOS 6, or the one from Fedora 21 (7.37) I recognized the problem while moving a php application to a CentOS 7 server, where the applications was much slower. My current solution is that i have compiled the curl srpm from Fedora 21. Now the PHP application is running as usual. | ||||
Steps To Reproduce | # curl-format.txt # start of file time_namelookup: %{time_namelookup}\n time_connect: %{time_connect}\n time_appconnect: %{time_appconnect}\n time_pretransfer: %{time_pretransfer}\n time_redirect: %{time_redirect}\n time_starttransfer: %{time_starttransfer}\n ----------\n time_total: %{time_total}\n # end of file slow request (with name resolution): curl -4 -w '@curl-format.txt' www.google.de -> time_total: 0,052 fast request (without name resolution): curl -4 -w '@curl-format.txt' -H'Host: www.google.de' 74.125.24.94 -> time_total: 0,204 | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
I agreed with this, any request has taken for 0.150s delay. | |
It's due to a bug in libcurl in 7.29.0, but fixed later upstream, for more details: http://curl.haxx.se/mail/archive-2014-10/0037.html. Upgrading to 7.43.0 fixes the issue. |
|
This one is biting us as well.. and a request that normally takes 50msecs on rhel6, takes 350msecs on centos 7 :( (and we do it several times a minute..) According to RH equivalent bug - it's fixed in newer version of 7.29 in fc19: https://bugzilla.redhat.com/show_bug.cgi?id=1130239 Also.. this bug seems to have been introduced by a bad backport by Red Hat.. according to http://curl.haxx.se/mail/archive-2014-10/0044.html |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-01-14 12:36 | schlitzered | New Issue | |
2015-06-04 13:27 | Bock | Note Added: 0023300 | |
2015-06-25 16:32 | dignus | Note Added: 0023490 | |
2015-07-06 08:28 | KlavsKlavsen | Note Added: 0023570 |