curl-and-php
Re: Curl slow!
From: Richard Lynch <ceo_at_l-i-e.com>
Date: Sat, 25 Aug 2007 15:59:33 -0500 (CDT)
Date: Sat, 25 Aug 2007 15:59:33 -0500 (CDT)
On Thu, August 23, 2007 7:45 pm, yong wang wrote:
> Hello:
> Help me Please!
>
> PHP 4.4.2
> Server version: Apache/2.0.58
> curl 7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6 OpenSSL/0.9.7a ipv6
> zlib/1.1.4
> Nusoap 0.7.2
>
> I do the project that it is communication with the two webservice by
> nusoap's XML.
> It always spend 1s from apache to remote apache .
> But Sometimes It spend 25s.
After you have upgraded, take a look at your DNS and /etc/host settings.
30 seconds is the default timeout for some DNS lookup thingie, and a
wait of that specific time interval CAN be a symptom of messed up
IP/domain record settings.
YMMV
-- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-08-25