Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    1

    Default MySql Eating up ram/swap

    I have noticed that since cpanel did a mysql update in which nptl based systems using mysql 4.0 created a compatability issue that, every day or 2, my ram+swap gets filled up to the max.

    i have created an addon 1gb swap file, this morning i logged into the server and my 640MB of ram as well as my enter 2gb of swap was 100% full.

    In order to clean it up, i did a service mysql restart.

    This has been happening ever since the nptl message popped up in whm. Most times, if i dont catch the 100% usage, the linux kernel oom-killer process goes out and ends up killing httpd and mysql as well as other random processes as designed.

    My question is.. what did cpanel change software-wise to create this mysql mem leak that seems to have been formed, and is anyone else having this issue?

    I have another friend that is experiencing the exact same issue which running on fedora core 4.

    let me know, thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by FluKex
    i have created an addon 1gb swap file, this morning i logged into the server and my 640MB of ram as well as my enter 2gb of swap was 100% full.
    What is your current version of MySQL? The problem is definitely not MySQL. It might be a bad/insecure Php/cgi script that loops indefinitely causing this problem.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. Server Use almost 100% of ram and 100% of SWAP
    By inertz in forum Optimization
    Replies: 15
    Last Post: 09-20-2010, 01:07 PM
  2. Replies: 1
    Last Post: 01-18-2010, 11:37 PM
  3. Server Use almost 100% of ram and 100% of SWAP
    By inertz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-07-2009, 08:11 AM
  4. Http process won't die off and eating up cpu & ram.
    By gundamz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-02-2008, 10:32 PM
  5. Forced Update Eating up Ram + crashed cPanel.
    By Annex in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-12-2007, 03:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube