Results 1 to 9 of 9

Thread: unchecked eximstats - but it's still running and not disabled?

  1. #1
    aww
    aww is offline
    Member
    Join Date
    Feb 2005
    Posts
    145
    cPanel/WHM Access Level

    Root Administrator

    Question unchecked eximstats - but it's still running and not disabled?

    Unchecked eximstats under the service manager under the "TailWatch Drivers"

    Cpanel did it's thing and I thought it was stopped.

    But I am still seeing eximstats queries in the mysql slow log?

    I cannot find eximstats running under ps aux, but I never could so maybe it runs intermittently...

    Since it's now under tailwatch I cannot find it under chkconfig --list either.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    Could you try moving the eximstats database as well after stopping MySQL temporarily? Just move it out of /var/lib/mysql entirely to another location. After it has been moved, then start MySQL again.

    You might also want to move the binary:

    Code:
    mv /usr/sbin/eximstats /usr/sbin/eximstats.bak
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    aww
    aww is offline
    Member
    Join Date
    Feb 2005
    Posts
    145
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    Quote Originally Posted by cPanelTristan View Post
    Could you try moving the eximstats database as well after stopping MySQL temporarily? Just move it out of /var/lib/mysql entirely to another location. After it has been moved, then start MySQL again.

    You might also want to move the binary:

    Code:
    mv /usr/sbin/eximstats /usr/sbin/eximstats.bak

    Ah the idea was just to temporarily suspend it for a day to see if was contributing to load spikes, didn't want to do database deletion (or moving).

    Certainly removing the binary is going to stop it, but where is it actually being called, I guess tailwatch is still firing away on it? Where can I examine the tailwatch configuration?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    Yeah, tailwatchd would still be calling it. You can see the logs for tailwatchd at /usr/local/cpanel/logs/tailwatchd_log file.

    You cannot examine the tailwatchd configuration itself as it's a binary at /usr/local/cpanel/bin/tailwatchd
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    aww
    aww is offline
    Member
    Join Date
    Feb 2005
    Posts
    145
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    That's for all the details, good to know how eximstats works on cpanel.

    The good news is it seems to have corrected itself and I don't see anymore eximstats mysql queries, didn't have to do anything but it took overnight to stop. Pretty sure the queries were not on delay so it might have just been tailwatch restarting itself or some other cache clearing.

  6. #6
    aww
    aww is offline
    Member
    Join Date
    Feb 2005
    Posts
    145
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    Aha! Nope it's not disabled, I'll have to investigate your other suggestions, this just showed up in the slow log - we had improved our mysql setup so it was faster and eximstats was now escaping the time limit

    Code:
    # User@Host: eximstats[eximstats] @ localhost []
    # Query_time: 1.562439  Lock_time: 0.000080 Rows_sent: 0  Rows_examined: 3970
    use eximstats;
    SET timestamp=1343701315;
    update smtp INNER JOIN sends ON (sends.msgid=smtp.msgid) set smtp.processed=3 where smtp.transport_is_remote=1 and sends.user IN ('-remote-','root','mailman') and smtp.processed=0;
    So still running a day or two later after disabled.
    Code:
    [319] [2012-07-28 15:27:47 -0400] [Cpanel::TailWatch::Utils::EnableDisable] [319] [2012-07-28 15:27:47 -0400] [main] 
    Cpanel::TailWatch::Eximstats was successfully disabled


    ps. Does the eximstats database table have all the indexes it should have for best performance?
    Last edited by aww; 07-30-2012 at 09:32 PM.

  7. #7
    aww
    aww is offline
    Member
    Join Date
    Feb 2005
    Posts
    145
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    What do you think of just renaming /usr/local/cpanel/Cpanel/TailWatch/Eximstats.pm

    I guess eximstats has two parts, one that collects the data into mysql, then the post-processor.

    Either one or both of them is still firing.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    It might be better off to open up a ticket for us to see why this is still running even after it has been unchecked. Even with tailwatchd handling it, it should stop running queries if you've unchecked the service.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    aww
    aww is offline
    Member
    Join Date
    Feb 2005
    Posts
    145
    cPanel/WHM Access Level

    Root Administrator

    Default Re: unchecked eximstats - but it's still running and not disabled?

    Not positive but I think I finally tracked this down.

    eximstats builds a backlog of queries at /var/cpanel/sql/eximstats.sql

    even though eximstats is off, cpanel checks to see if the log still exists, and if so, it slowly goes through the queries

    I renamed the log and the queries seem to have stopped

Similar Threads

  1. [case 45100] Reseller IP Delegation Unchecked on Re-Visit
    By VeZoZ in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 05-26-2011, 12:38 PM
  2. Disabled Services Still Running?
    By linux4me in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 04-27-2011, 02:00 PM
  3. Sender Verification - checked or unchecked
    By pmignone in forum E-mail Discussions
    Replies: 14
    Last Post: 09-07-2008, 09:27 AM
  4. cphulk still running even if I disabled it
    By Kent Brockman in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 07-15-2008, 10:59 AM
  5. WHM gives shell access even if box is unchecked!
    By hostultra in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-31-2002, 07:37 AM

Tags for this Thread