Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    27

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

    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:
    Jul 3 19:52:57 empire Cp-Wrap[3091]: Pushing "570 LIST 0 0" to '/usr/local/cpanel/bin/ftpadmin' for UID: 570
    Jul 3 19:52:57 empire Cp-Wrap[3091]: CP-Wrapper terminated without error
    Jul 3 19:52:57 empire Cp-Wrap[3100]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:52:57 empire Cp-Wrap[3100]: Pushing "570 COUNTDBS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:52:59 empire Cp-Wrap[3100]: CP-Wrapper terminated without error
    Jul 3 19:53:24 empire Cp-Wrap[3146]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:24 empire Cp-Wrap[3146]: Pushing "570 LISTDBS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:24 empire Cp-Wrap[3146]: CP-Wrapper terminated without error
    Jul 3 19:53:24 empire Cp-Wrap[3151]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:24 empire Cp-Wrap[3151]: Pushing "570 GETHOST" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:25 empire Cp-Wrap[3151]: CP-Wrapper terminated without error
    Jul 3 19:53:25 empire Cp-Wrap[3153]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:25 empire Cp-Wrap[3153]: Pushing "570 LISTUSERSINDB dick" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:25 empire Cp-Wrap[3153]: CP-Wrapper terminated without error
    Jul 3 19:53:25 empire Cp-Wrap[3160]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:25 empire Cp-Wrap[3160]: Pushing "570 LISTUSERSINDB ecard" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:25 empire Cp-Wrap[3160]: CP-Wrapper terminated without error
    Jul 3 19:53:25 empire Cp-Wrap[3165]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:25 empire Cp-Wrap[3165]: Pushing "570 LISTUSERSINDB one" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:25 empire Cp-Wrap[3165]: CP-Wrapper terminated without error
    Jul 3 19:53:25 empire Cp-Wrap[3171]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:25 empire Cp-Wrap[3171]: Pushing "570 LISTUSERS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:26 empire Cp-Wrap[3171]: CP-Wrapper terminated without error
    Jul 3 19:53:26 empire Cp-Wrap[3193]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:26 empire Cp-Wrap[3193]: Pushing "570 LISTDBS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:26 empire Cp-Wrap[3193]: CP-Wrapper terminated without error
    Jul 3 19:53:26 empire Cp-Wrap[3198]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:26 empire Cp-Wrap[3198]: Pushing "570 LISTUSERS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Jul 3 19:53:26 empire Cp-Wrap[3198]: CP-Wrapper terminated without error
    Jul 3 19:53:26 empire Cp-Wrap[3222]: CP-Wrapper v1.2 resuming normal operations
    Jul 3 19:53:26 empire Cp-Wrap[3222]: Pushing "570 LISTHOSTS" to '/usr/local/cpanel/bin/mysqladmin' for UID: 570
    Does anyone have any idea what might be going on here?

    cPanel.net Support Ticket Number:

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    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. #3
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    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. #4
    Member
    Join Date
    Jun 2003
    Posts
    27

    Default

    Originally posted by bdraco
    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:
    Is there much difference between 7.1.5 and 7.1.0-R20 ?

    cPanel.net Support Ticket Number:

  5. #5
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    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:

Similar Threads & Tags
Similar threads

  1. Replies: 12
    Last Post: 04-02-2010, 11:43 AM
  2. Sever load spikes related to MySQL access, please help with this.
    By jols in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-08-2010, 04:15 AM
  3. Sever load
    By Beermonster in forum cPGS Discussions
    Replies: 2
    Last Post: 07-18-2008, 12:07 PM
  4. High Server Load - Perl is the culprit
    By davecoop in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 01-08-2008, 05:01 PM
  5. lfd alert for high server load. Who's the culprit?
    By schwim in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-03-2007, 08:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube