Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    May 2003
    Posts
    46

    Exclamation problem with duplicate apache logs (domlogs) after cpanel 11 upgrade

    I upgraded to cpanel 11 release on approx Jul 6th) . I now have noticed the following strange problem. (I also updated again last night).

    When I go into /usr/local/apache/domlogs

    I see the normal apache log files like
    /usr/local/apache/domlogs/domain1.com
    /usr/local/apache/domlogs/domain2.com
    etc -- which are the apache logs for those domains.

    HOWEVER, ALSO there are subfolders for each domain containing the exact same files (and they are NOT symlinked -- they are actual duplicates updated in real time!!)

    So there is also
    /usr/local/apache/domlogs/domain1/domain1.com
    /usr/local/apache/domlogs/domain2/domain2.com
    etc

    Since upgrading to Cpanel 11, I have had strange load spikes up to 30 for a few moments a day (which *never* occurred before). This is creating double the work for my server (which has some logs growing 500MB/day). A long time ago I created a cronjob/script to check that and move them to another folder when they get too large (to prevent the 2gb limit) -- but that script is now broken due to the duplicates. And it has essentially been deleting/clearing the log files without copying them because of duplicate entries

    Anyone ever see this problem? Was the domlog storage location changed slightly under cpanel 11 (putting them in subfolders per account within domlogs)? If so, something went wrong with my upgrade and I just found out about it.
    Last edited by vissa; 07-31-2007 at 07:38 PM.

  2. #2
    Member
    Join Date
    May 2003
    Posts
    46

    Default

    FYI I was told by support than CP11 does add hardlinks as I mentioned in my first post. They are not duplicates in the true sense (as two separate files), but it did mess up one of my scripts.

Similar Threads & Tags
Similar threads

  1. Clearing old logs from /usr/local/apache/domlogs ?
    By jols in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-15-2010, 10:19 PM
  2. Duplicate Apache Domlogs
    By orty in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-25-2009, 04:27 PM
  3. Duplicate Apache Logs?? WHY??
    By Sir William in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-21-2009, 08:40 PM
  4. duplicate apache logs
    By forlinuxsupport in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-25-2007, 10:56 AM
  5. Replies: 0
    Last Post: 05-19-2004, 05:50 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube