php cli is trying to resolve

php cli is trying to resolve

ik idokan at gmail.com
Fri Jun 12 22:29:36 IDT 2009


Hello list,

I have encountered today a weird problem with a CentOS 4.7 Final server.

A cli based PHP script took a long time until it executed. Even code such as
:

<?
  echo "Hello World\n";
?>

Took few minutes to execute.

After doing some strace on php, I found out that it attempt to do resolving
for several addresses prior to executing the code.

I can not reproduce it on any other Linux that I have tried to (Ubuntu,
debian and Arch Linux).

Have anyone encountered such issue, and knows how to stop php from trying to
resolve things ?

Thanks,

Ido


http://ik.homelinux.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090612/e378e1be/attachment-0001.html>


More information about the Linux-il mailing list