Re: Help, PHP/Mysql connections are so slow.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi.

> Have you tried other protocols? Is it really only http
> transfers that are slow?

Yes. Ftp works perfectly, and regular http with cgi/perl connections to the same database server works perfectly. Also rendering of standard HTML works as it should. It is only when a scripted site uses PHP/Mysql the connection to the server takes forever.

> Have you tried pinging 100 times and see if you get dropped
> packets?

0% packet loss

> Are there any errors from the netcards showing up in log
> files?

None.

I am really baffeled with this problem. I have no idea what to do next. Have enabled server-status in Apache and when the scripted site is being access the cpu load is around 2.5%.


Regards,
/mysteron


--- On Mon, 6/9/08, Bent Terp <bent@xxxxxxxxxxx> wrote:

> From: Bent Terp <bent@xxxxxxxxxxx>
> Subject: Re:  Help, PHP/Mysql connections are so slow.
> To: "CentOS mailing list" <centos@xxxxxxxxxx>
> Date: Monday, June 9, 2008, 10:42 AM
> > communicate with MySQL5. On this server, PHP/Mysql
> connections are dead
> > slow and unresponsive. It takes sometimes up to a
> minute to list tables
> > in phpmyadmin for example.
> 
> Have you tried other protocols? Is it really only http
> transfers that are slow?
> 
> Have you tried pinging 100 times and see if you get dropped
> packets?
> 
> Are there any errors from the netcards showing up in log
> files?
> 
> BR Bent
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux