Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cpanelsync High Memory Usage

Discussion in 'General Discussion' started by msmollin, Nov 22, 2006.

  1. msmollin

    msmollin Registered

    Aug 11, 2006
    Likes Received:
    Trophy Points:
    Hey everyone, I'm posting because a couple of hours ago I got phone calls from my clients on the webserver I manage for them that the memory usage was rather high, and they were afraid their queries against the DB might crash the server. So I looked into it, and it came out that cpanelsync, one of the scripts, was being run as root, had been going for well over 2 hours, and was sucking up 67% of ram and about 50% of swap...... alone.

    So, I killed the PID, and everything seems to be back to normal. What I want to know is, am I going to have todo this everytime, or is that a rare occurence, or is that a head scratcher? I'm still relatively new to the products (used to doing it the old fashion way of command line management), so I don't know if killing that process hosed something, or if it will re-run at a later date. Thanks!

  2. SoftDux

    SoftDux Well-Known Member

    May 27, 2006
    Likes Received:
    Trophy Points:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    that script is probably run from a crontab, as root, so edit root's crontab, and change the time it's supposed to run to a time when the server is not used that much, say between 2am & 5 am

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice