Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default Apache Keeps Crashing!!!

    I have too many open log files, its causing apache to go over its File Descriptor Limit

    Almost all of these are log files
    [/usr/local/apache/logs]# lsof | grep httpd | wc -l
    179310

    http://httpd.apache.org/docs-2.0/vhosts/fd-limits.html

    This only happens on my server running redhat8.0 my other cpanel servers work fine

    Is a way to modify how new domains are setup in httpd?

    How can i get it to create 1 error that everyone uses instead of 3 for each domain and subdomains.

    What is the # of files the kernal can have open at once?

    Please help, Apache has crashed over 20 times in the last 3 days!!!

    Has anyone else had this problem?

    What is my best option?

  2. #2
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default

    This was in my error log when it crashed...
    [Sat Apr 12 18:07:20 2003] [warn] [csd] filedescriptor (1046) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Sat Apr 12 18:07:20 2003] [warn] [csd] filedescriptor (1046) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Sat Apr 12 18:07:20 2003] [warn] [csd] filedescriptor (1046) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE

  3. #3
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    This is probably a stupid suggestion, but have you considered running easyapache option 6 and raising the FD_SETSIZE?
    Last edited by casey; 04-15-2003 at 12:46 AM.

  4. #4
    BANNED
    Join Date
    Feb 2002
    Posts
    656

    Default

    Hi,

    what do i change it to?

    Wont it use up a lot of ram then?

    Does the number just keep increaseing? If I am it 2048 what are the chances of it exceeding that?

  5. #5
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Well, you don't actually change it to anything. You select the option and it does it by itself. I used that and it worked fine. Don't forget to highlight php and hit enter so that you can choose the options to compile php as well.

  6. #6
    TCS
    TCS is offline
    Member
    Join Date
    Mar 2003
    Posts
    9

    Default

    I think in Web Manager under security the command "Modify Apache Memory Usage Limit" should fix this.

    However on RH 8.0 I don't know.

Similar Threads & Tags
Similar threads

  1. Apache Crashing
    By Nico in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 10-21-2007, 06:33 AM
  2. Apache Crashing
    By Nico in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-11-2005, 08:46 AM
  3. Apache keeps crashing..
    By ChemicalWH in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-27-2005, 04:32 PM
  4. Apache crashing
    By creed in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-04-2002, 03:03 PM
  5. apache crashing!!
    By dominet in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-03-2002, 11:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube