Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    73

    Default 100% uptime with cPanel while log rotation and processing

    When I server process logs and/or rotates logs it goes down for four - five minutes. Is there a way I can process this logs without experiencing this down time?

  2. #2
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Spread rotating logs out, don't process some, upgrade server RAM, etc.
    .

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    73

    Default

    RAM is already at 8GB. How do I spread out the timing for log rotation?

  4. #4
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    If you have 8 GB and going down at log rotation, you got me really curious about your traffic patterns and server configuration as something is definitely not kosher there.

  5. #5
    Member This forum account has been confirmed by cPanel staff to represent a vendor. UNIXy's Avatar
    Join Date
    Sep 2009
    Location
    Houston, Texas, USA
    Posts
    70
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Logrotate is a mature unix utility in the sense that it's highly customizable. You could for example configure it to rotate the logs daily so the size of the logs don't get out of control and take longer to complete (see man logrotate). Or better, you could set the variable minsize to a reasonable number so the logs get rotated as soon as they reach X size in bytes. Check out logrotate.conf under /etc/.

    A mixture of the above settings can greatly reduce the perceived down time.

    Regards
    Joe / UNIXY
    - Truly Fully Managed Servers http://unixy.net/
    - Fastlayer.com: Varnish for the cloud.
    - cPanel Varnish Plugin

  6. #6
    Registered User
    Join Date
    Aug 2006
    Posts
    18

    Default

    I have a large logfles. I set the log files to null .
    suggest to add option to cancel the log files in system and apache.

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    378
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Have you looked at using the piped log option that was added recently?

    Main >> Service Configuration >> Apache Configuration >> Piped Log Configuration

Similar Threads & Tags
Similar threads

  1. cPanel Log Rotation Configuration: Customization needed
    By Kent Brockman in forum Archived Feature Requests
    Replies: 3
    Last Post: 09-13-2010, 04:00 PM
  2. Launch application before cPanel log rotation?
    By zettich in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-17-2010, 04:36 PM
  3. cPanel Log Rotation Configuration: Customization needed
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-13-2010, 03:16 PM
  4. Is cpanel log rotation ever works?
    By sharmaine001 in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 01-14-2010, 07:33 AM
  5. How to offer 100% uptime with cpanel?
    By pueblosnet in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-18-2009, 07:50 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube