On Fri, Jun 12, 2009 at 10:41 PM, Tzafrir Cohen <tzaf...@cohens.org.il>wrote:

> 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?


Machine local names, but when I changed the DNS addresses to faster
addresses it takes no more then few MS to have a result.


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


Probably, but I can't figure out in strace what module actually do it,
that's why I posted the question here.


>
>
>
> --
> Tzafrir Cohen         | tzaf...@jabber.org | VIM is
> http://tzafrir.org.il |                    | a Mutt's
> tzaf...@cohens.org.il |                    |  best
> ICQ# 16849754         |                    | friend
>
> _______________________________________________
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>


Thanks,
Ido
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to