Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    20

    Default Help with unusual Por 80 failures...

    Hi All,

    Hope someone can point me in the right direction.

    On average at the moment i have to cut down the file sizes or delete my access_log and error_log files, otherwise i get never ending and multiple Port 80 failures where httpd will not stay up for more than 30 seconds!

    Have tried updating, reconfiguring and checking other error logs but to no avail.
    Cant find much related on the forum here.

    Anyone have any ideas?
    Thanks.

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    138

    Default

    Hi,

    In WHM -> Service Configuration -> Apache Configuration -> Log Rotation try checking the boxes , then click save . That interface allows you to specify rotation for any log file in /usr/local/apache/logs . Note that these logs will be rotated once they reach 300 MB in size.

    Another reason for the failure of apache would be the cause of semaphore arrays. Regarding semaphore it is a lot like a locking mechanism. In any server there is an order of precedence in which tasks must be accomplished. The semaphore is used to maintain that precedence order. A succeeding task may not start until it has received the semaphores from all of it's predecessors. It can lead processes to a hung state because of the incomplete transaction. This will result to failure of these services until we remove the Sem-ids manually from their arrays. There are scripts available to remove semaphore . Do not forget to restart apache after that.

    Also we can setup schedulers to crop the apache logs and domlogs. This should fix your issue permanently.
    LogicSupport.com - Support That Makes Sense!
    Quality Server Management & Web Hosting Support

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    20

    Default

    Hi,

    Many thanks for your detailed reply.
    Has helped me greatly.

    All the best.

Similar Threads & Tags
Similar threads

  1. modificar mails por hora por cuenta en el WHM
    By fmosse in forum Discusión en Español
    Replies: 3
    Last Post: 07-20-2009, 12:57 AM
  2. antispam no se desactiva por cpanel, por que ?
    By auhosting in forum Discusión en Español
    Replies: 1
    Last Post: 01-16-2009, 12:25 AM
  3. unusual bandwidth usage?
    By nike.stars in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-29-2008, 09:02 AM
  4. Unusual phpsuexec Problem
    By x86eon in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 08-25-2006, 06:30 PM
  5. Very Unusual Problem
    By v2webltd in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-23-2002, 06:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube