Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Senior Member Browny's Avatar
    Join Date
    Nov 2005
    Location
    Suffolk, UK
    Posts
    187

    Question Multiple instances of MySQL??

    Just out of curiosity I've updated my Slimserver to Version '6.5b1 - 8926 - Linux - EN - utf8' using the rpm from the download page.

    Currently my server is running on ClarkConnect Home Edition 3.2. Prior to installing the rpm I was already running MySQL 4 and this seems to only run one instance of mysqld when viewing in ps.

    After installing the rpm I find that slimserver is running fine, but when I look in ps on the server I get:

    502 1625 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1628 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1629 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1630 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1631 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1632 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1635 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1636 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1637 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1638 0.0 5.2 26692 20380 ? S 16:08 0:00 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log
    502 1640 0.2 5.2 26692 20380 ? S 16:08 0:08 /usr/local/slimserver/Bin/i386-linux/mysqld --defaults-file=/usr/local/slimserver/Cache/my.cnf --pid-file=/usr/local/slimserver/Cache/slimserver-mysql.pid --log-error=/tmp/slimserver.log

    If I start and stop slimserver then all these instances start and stop with it, but it seems strange that the only instance that appears to be doing any work is the last one (I think).

    I understand that the embedded version of MySQL is at v5 - is this normal to have all these running on 5, or is this something specific to my server?

    Any advice would be appreciated.

    Cheers,

    Browny

  2. #2
    Perl Commando Dan Sully's Avatar
    Join Date
    Apr 2005
    Location
    Daly City, CA
    Posts
    2,865

    Multiple instances of MySQL??

    * Browny shaped the electrons to say...

    >Currently my server is running on ClarkConnect Home Edition 3.2. Prior
    >to installing the rpm I was already running MySQL 4 and this seems to
    >only run one instance of mysqld when viewing in ps.


    Some versions of ps report multiple threads in a process as multiple
    processes. MySQL 5 might be using a different threading library than your
    copy of v4.

    -D
    --
    Adobe Photoshop - When you want the truth. Real bad.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •