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!

Sever load spikes, crashing -- Cp-Wrap the culprit?

Discussion in 'General Discussion' started by isnoop, Jul 6, 2003.

  1. isnoop

    isnoop Active Member

    Joined:
    Jun 13, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    We've been investigating this for some time now, and I may have found a correlation between some strange server load spikes (jumping form a 1.00 avg to upwards of 100.00) around the time that these messages begin to appear in /var/log/secure:
    Does anyone have any idea what might be going on here?

    cPanel.net Support Ticket Number:
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    30
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    cpwrap is a very simple wrapper, I doubt it is causing the problem. We can provide you the source code to it for your review if you sign our standard NDA.

    cPanel.net Support Ticket Number:
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,480
    Likes Received:
    30
    Trophy Points:
    158
    cPanel Access Level:
    DataCenter Provider
    Looks like it could be mysql releated though.

    7.1.5 builds will have a more optimized mysql manager


    x/sql/index.html

    cpanel7.1.5
    0.25user 0.03system 0:00.81elapsed 34%CPU (0avgtext+0avgdata 0maxresident)k
    0inputs+0outputs (2552major+1920minor)pagefaults 0swaps

    cpanel6.4.2
    1.72user 0.21system 0:02.03elapsed 94%CPU (0avgtext+0avgdata 0maxresident)k
    0inputs+0outputs (15711major+12305minor)pagefaults 0swaps

    cPanel.net Support Ticket Number:
     
  4. isnoop

    isnoop Active Member

    Joined:
    Jun 13, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    Is there much difference between 7.1.5 and 7.1.0-R20 ?

    cPanel.net Support Ticket Number:
     
  5. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    166
    redhat 8.0
    Cpanel 7.2.1-R45

    i found a load of the following in my server logs right before a crash. server seemed up just everything would time out waiting for a reponse.

    Jul 28 01:00:16 server Cp-Wrap[8674]: Pushing "32362 GETHOST" to '/usr/local/cpanel/bin/mysqladmin' for UID: 32362
    Jul 28 01:00:16 server Cp-Wrap[8674]: CP-Wrapper terminated without error
    Jul 28 01:00:16 server Cp-Wrap[8680]: CP-Wrapper v1.2 resuming normal operations
    Jul 28 01:00:16 server Cp-Wrap[8680]: Pushing "32362 LISTDBS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 32362
    Jul 28 01:00:17 server Cp-Wrap[8680]: CP-Wrapper terminated without error
    Jul 28 01:00:17 server Cp-Wrap[8683]: CP-Wrapper v1.2 resuming normal operations
    Jul 28 01:00:17 server Cp-Wrap[8683]: Pushing "32362 LISTUSERSINDB dbm" to '/usr/local/cpanel/bin/mysqladmin' for UID: 32362
    Jul 28 01:00:18 server Cp-Wrap[8683]: CP-Wrapper terminated without error
    Jul 28 01:00:18 server Cp-Wrap[8696]: CP-Wrapper v1.2 resuming normal operations
    Jul 28 01:00:18 server Cp-Wrap[8696]: Pushing "32362 LISTUSERSINDB main" to '/usr/local/cpanel/bin/mysqladmin' for UID: 32362
    Jul 28 01:00:19 server Cp-Wrap[8696]: CP-Wrapper terminated without error
    Jul 28 01:00:19 server Cp-Wrap[8698]: CP-Wrapper v1.2 resuming normal operations
    Jul 28 01:00:19 server Cp-Wrap[8698]: Pushing "32362 LISTUSERSINDB scribe" to '/usr/local/cpanel/bin/mysqladmin' for UID: 32362
    Jul 28 01:00:19 server Cp-Wrap[8698]: CP-Wrapper terminated without error
    Jul 28 01:00:19 server Cp-Wrap[8705]: CP-Wrapper v1.2 resuming normal operations
    Jul 28 01:00:19 server Cp-Wrap[8705]: Pushing "32362 LISTUSERS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 32362
    ...........and it keeps on going for about a half hour, all the way up until everything completly stopped responding.

    cPanel.net Support Ticket Number:
     
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