[ale] Mysql 4
Christopher Fowler
cfowler at outpostsentinel.com
Wed Apr 14 21:12:29 EDT 2004
I've got a pool of 20 connections that are opened.
With the 3.2X version I have the following:
[tomcat at sam-devel bin]$ ps -ef | grep mysql
root 22868 1 0 21:08 pts/1 00:00:00 /bin/sh
/usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
mysql 22892 22868 0 21:08 pts/1 00:00:00 /usr/libexec/mysqld
--defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql
--user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
tomcat 23098 4862 0 21:09 pts/1 00:00:00 grep mysql
[tomcat at sam-devel bin]$ netstat -n | grep 3306 | wc -l
46
Notice only one server process and 46/2 connections. All connections
are via 127.0.0.1
On the new 4.0.18 I have this right after startup.
root 23134 1 2 21:11 pts/1 00:00:00 /bin/sh
/usr/local/mysql/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file
mysql 23165 23134 8 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23166 23165 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23167 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23168 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23169 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23170 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23171 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23172 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23173 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
mysql 23174 23166 0 21:11 pts/1 00:00:00
/usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql
--datadir=/var/li
This is without any connections.
On Wed, 2004-04-14 at 21:00, James Sumners wrote:
> What are you using to connect to the database server?
>
> On Wed, 14 Apr 2004 20:56:15 -0400
> Christopher Fowler <cfowler at outpostsentinel.com> wrote:
>
> > I've just installed and compiled MySQL 4. It seems I get a process now
> > for every database connection. On the old version I saw only one
> > process. Did I configure it wrong?
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
>
More information about the Ale
mailing list