php cli is trying to resolve

php cli is trying to resolve

Tzafrir Cohen tzafrir at cohens.org.il
Fri Jun 12 22:41:51 IDT 2009


On Fri, Jun 12, 2009 at 10:29:36PM +0300, ik wrote:
> 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.

What addresses?

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

Different modules loaded?


-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend



More information about the Linux-il mailing list