<div dir="ltr">
<br><br><div class="gmail_quote">On Fri, Jun 12, 2009 at 10:41 PM, Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir@cohens.org.il">tzafrir@cohens.org.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Jun 12, 2009 at 10:29:36PM +0300, ik wrote:<br>
> Hello list,<br>
><br>
> I have encountered today a weird problem with a CentOS 4.7 Final server.<br>
><br>
> A cli based PHP script took a long time until it executed. Even code such as<br>
> :<br>
><br>
> <?<br>
> echo "Hello World\n";<br>
> ?><br>
><br>
> Took few minutes to execute.<br>
><br>
> After doing some strace on php, I found out that it attempt to do resolving<br>
> for several addresses prior to executing the code.<br>
<br>
</div>What addresses?</blockquote><div><br>Machine local names, but when I changed the DNS addresses to faster addresses it takes no more then few MS to have a result.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="im"><br>
><br>
> I can not reproduce it on any other Linux that I have tried to (Ubuntu,<br>
> debian and Arch Linux).<br>
<br>
</div>Different modules loaded?</blockquote><div><br>Probably, but I can't figure out in strace what module actually do it, that's why I posted the question here.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
--<br>
Tzafrir Cohen | <a href="mailto:tzafrir@jabber.org">tzafrir@jabber.org</a> | VIM is<br>
<a href="http://tzafrir.org.il" target="_blank">http://tzafrir.org.il</a> | | a Mutt's<br>
<a href="mailto:tzafrir@cohens.org.il">tzafrir@cohens.org.il</a> | | best<br>
ICQ# 16849754 | | friend<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</blockquote></div><br><br>Thanks,<br>Ido<br></div>