The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is tailwatchd for?

Discussion in 'General Discussion' started by sadasiva, Apr 26, 2010.

  1. sadasiva

    sadasiva Member

    Joined:
    Apr 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    I'm using a new VPS with Centos 5x & cPanel/WHM 11 in it.

    Yesterday evening the VPS was severely over-loaded and crashed twice.

    I found out that process named "tailwatchd" was overloading the server very badly. It was using very high CPU and about 60% of memory.

    As soon I disabled tailwatchd (TailWatch Drivers: Antirelayd, ChkServd, cPBandwd & Eximstats), the server was back to normal.

    I disabled this through WHM > Service Configuration > Service Manager

    The VPS has been working nice since then and no probs till now. No overloading at all.

    A few hours back, I enabled tailwatchd and only selected ChkServd under it (after reading in a forum that it was important to enable ChkServd). It was successful and the VPS has not over-loaded.

    So the over-loading must be due to the other 3 processes - Antirelayd, cPBandwd & Eximstats.

    Now I want to know if these 3 are so important or not?

    We use the VPS for shared hosting purpose.

    Kindly can anyone tell me what ready does Antirelayd, cPBandwd & Eximstats do? I searched the entire forum and could not find relevant info.

    In particular 1 imp question, is cPBandwd a program which calculates the total bandwidth (data transfer) used up by the hosting accounts in the server? Or it only calculates bandwidth of emails sent and received.

    Sorry, I'm getting confused a lot.

    Please help.
     
  2. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    Hi,

    TailWatchd processes logs from cPanel. Previously, three daemons were used to gather information from mail and bandwidth logs (antirelayd, eximstats and cpbandwd). These daemons have been deprecated and TailWatchd is launched which is more robust. The new system will reduce load due to log processing and allows for a more robust interface with the daemon. This daemon with all three log processing drivers uses less memory.

    Hope this helps ;)

    Chinmay
     
  3. sadasiva

    sadasiva Member

    Joined:
    Apr 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Thanks for your reply. I understood that part now.

    However what exactly will happen if I disable cpbandwd from the server?

    1. Will it stop calculating the total data transfer (bandwidth) used by the hosting accounts in the server? Or just the email bandwidth?

    2. antirelayd & eximstats seems to be related to email. So I don't think disabling it will be any problem. Am I correct?

    As we are using the server for shared hosting purpose, monitoring total data transfer of each account is required.

    Any help would be highly appreciated.

    Thanks.





     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Well that much is not surprising :rolleyes:

    Check your logs and make sure none are unusually large ...

    /var/log
    /usr/local/apache/logs
    /usr/local/apache/domlogs
    /usr/local/cpanel/logs
     
  5. sadasiva

    sadasiva Member

    Joined:
    Apr 26, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Thanks for your reply.

    Here are the log size:

    17M /usr/local/apache/logs
    45M /usr/local/apache/domlogs
    12M /usr/local/cpanel/logs
    34M /var/log

    I don't think any of these are unusually large.

    Any help?




     
  6. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    Hi,

    What you can do here is configure logs to process at night OR non business hours. Also check as to how often Bandwidth and Log Processing Frequency is set to.
     
Loading...

Share This Page