Most database connectors use pooled connections by default, but with the PHP
clients you have to explicitly use it. I've never really used the PHP
client, but I think you should use AddServer instead of Connect or
something. Look it up in the manual.


/Henrik

On Mon, Dec 21, 2009 at 02:14, majikman <[email protected]> wrote:

> We recently migrated a lot of data off our mysql server and onto our
> memcached servers. One thing we're noticing is that we're getting a
> disproportionate larger number of connections to memcached than to
> mysqld. Mysqld will usually get anywhere from 100-300 connections at a
> time. Our memcached servers, on the other hand, will have as many as
> 20k connections at a time. Is this normal or should I suspect
> something is the matter?
>
> We're running Apache 2.2.x in prefork with PHP 5.2.x. memcache 1.4.1
> and mysql 5.1.x.
>
> Thanks in advance.
>

Reply via email to