[wp-hackers] WordPress persistent connections

wpmidia lab wpmidia at gmail.com
Fri Oct 5 17:41:21 UTC 2012


Hi Léo!

The problem is that there are multiple connections not closed on the
server, you know?
I think using mysql_pconnect, will only worsen. I checked the file
wp-db.php WordPress and not using mysql_pconnect.




2012/10/5 Leo Baiano <ljunior2005 at gmail.com>

> Have you tried to change the wp-db.php to use mysql_pconnect instead of
> mysql_connect? should solve the pconnect since it prevents it from being
> opened when a connection already exists.
>
> 2012/10/5 wpmidia lab <wpmidia at gmail.com>
>
> > We are having problems using the WordPress in a site with a lot of hits.
> >
> > The staff that manages the server reports that the WordPress open
> multiple
> > connections and not closing.
> >
> > Now, I need to resolve this, but I don't know how to find where this
> > problem occurs.
> >
> > Where this problem happens and how to resolve this issue of persistent
> > connection?
> >
> >
> > Thanks in advance!
> >
> > --
> > *Míriam de Paula *
> > *Twitter:* @miriamdepaula
> >
> > *desenvolvimento web*
> > http://wpmidia.com.br
> > twitter: @wpmidia
> >
> > *WordPress Brasil no Facebook:*
> > http://www.facebook.com/groups/wordpress.brasil
> >
> > *OpenCart Brasil no Facebook:*
> > http://www.facebook.com/groups/opencart.brasil/
> >
> > *Hospedagem de Qualidade é na HostGator<
> > http://www.hostgator.com.br/6133-4.html>
> > *
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
>
> --
> Amplexos,
>
> Leo Baiano
> http://www.leobaiano.com
> http://www.blog.ljunior.com
> http://www.mcelebridades.com
> http://www.twitter.com/leobaiano
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
*Míriam de Paula *
*Twitter:* @miriamdepaula

*desenvolvimento web*
http://wpmidia.com.br
twitter: @wpmidia

*WordPress Brasil no Facebook:*
http://www.facebook.com/groups/wordpress.brasil

*OpenCart Brasil no Facebook:*
http://www.facebook.com/groups/opencart.brasil/

*Hospedagem de Qualidade é na HostGator<http://www.hostgator.com.br/6133-4.html>
*


More information about the wp-hackers mailing list