The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mysql problem

Discussion in 'General Discussion' started by shizzle, Nov 27, 2004.

  1. shizzle

    shizzle Member

    Joined:
    Sep 26, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    i have the following problem (im not really sure if it is a problem) :

    If i look at "CPU/Memory/MySQL Usage" i get a really big memory usage
    on a mysql process - 97%. The cpu usage on that process is only 4%.

    this is the process:

    /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/srv1.compacthost.com.pid --skip-locking --port3306 --socket/var/lib/mysql/mysql.sock


    Thanks

    Mike
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    stop mysql

    rm -rf /tmp/sess*

    start mysql

    that will do.
     
  3. fuzzymonkey

    fuzzymonkey Well-Known Member

    Joined:
    Jun 11, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    What is this supposed to do? It didn't help me. My MySQL memory usage was just as high as before I deleted those files.
     
Loading...

Share This Page