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!

NCSD Using Resources

Discussion in 'General Discussion' started by GoWilkes, Feb 1, 2017.

Tags:
  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    403
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    On 1/28/17 I moved all of the sites on my server to run through HTTPS (thanks, Google). Everything seemed fine, but today I looked at my Munin report and see that I'm using a LOT of RAM! Like, 1/27/17 my peak was 3G (out of 4G), on the 28th my peak was 4.8G, and today I've been up to 7.5G. I'm currently at 6.28G.

    I ran "top", and it shows that MySQL is the top user at 1366m (Virt), but NCSD is a close second at 1315m. The third thing in the list is rsyslogd at 243m.

    I'm not surprised by MySQL... all of my sites use MySQL, and I'm not having a high number of access or anything, so that's probably normal. But NCSD is a new one for me. Since it's related to the domain, I'm only guessing... am I using more RAM now that I'm sending everything through HTTPS?

    It's also notable that CPU usage has stayed virtually the same (around 0.8 peak), but Apache "number of threads" have gone up a lot; from a "regular" peak of around 275 to a peak today of 433 (currently, 404.27). Apache "accesses" is pretty consistent, but "processes" went from a peak of around 100 to a peak today of 184.

    The only other thing I've changed is that I turned Keep-Alive back on, and set it to 3 seconds (it's been off for a few years). But I just did that last night, so while today is higher than yesterday, yesterday was still a lot higher than before I moved to HTTPS.

    Is there a setting I should be changing in /etc/ncsd.conf? AFAIK, it's at the default right now. If not, would moving to PowerDNS help?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I've not seen any other reports where NSCD has resulted in performance issues. Could you open a support ticket using the link in my signature so we can take a closer look and see what's happening on your system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    403
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    I started to submit a ticket, Michael, but the ticket center said for me to send it to my provider (Softlayer) first. I'll update the thread when/if there's a resolution.
     
Loading...

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