View Issue Details

IDProjectCategoryView StatusLast Update
0008076CentOS-7curlpublic2015-07-24 16:11
Reporterschlitzered Assigned To 
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7.0.1406
Product Version7.0-1406 
Summary0008076: libcurl 7.29 slow on dns resolution
Descriptionlibcurl 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
         time_total: %{time_total}\n
# end of file

slow request (with name resolution):
curl -4 -w '@curl-format.txt'
 -> time_total: 0,052
fast request (without name resolution):
curl -4 -w '@curl-format.txt' -H'Host:'
 -> time_total: 0,204
TagsNo tags attached.




2015-06-04 13:27

reporter   ~0023300

I agreed with this, any request has taken for 0.150s delay.


2015-06-25 16:32

reporter   ~0023490

It's due to a bug in libcurl in 7.29.0, but fixed later upstream, for more details:

Upgrading to 7.43.0 fixes the issue.


2015-07-06 08:28

reporter   ~0023570

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:

Also.. this bug seems to have been introduced by a bad backport by Red Hat.. according to

Issue History

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