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.

Apache Problem

Discussion in 'EasyApache' started by Darkedge, Apr 22, 2003.

  1. Darkedge

    Darkedge Active Member

    Joined:
    Aug 16, 2001
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Reposting this is hopes I can find a solution

    Apache has major filedescriptor problem. I am running freebsd. SOmeone anyone found a fix and or workaround for this with freebsd. Nothign is working. I have compile apache with option 6 and without mcrypt but to no avail. Please help.



    [Tue Apr 22 07:37:31 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:32 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:32 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:34 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:36 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:36 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:36 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:36 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:37 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:37:38 2003] [warn] [csd] filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:56:08 2003] [warn] send body: filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:56:36 2003] [warn] send body: filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
    [Tue Apr 22 07:58:05 2003] [warn] send body: filedescriptor (1577) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
     
  2. netwrkr

    netwrkr Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
  3. Darkedge

    Darkedge Active Member

    Joined:
    Aug 16, 2001
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Tried that

    I have tried that already. Please reply if you have had this problme yourself and can show me how you fixed it. I have done extensive research and nothing I try works please post if you have been able to correct this yourself.
     
  4. vortech

    vortech Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Does any one else have this problem, I would also like to see a fix for this...
     
  5. NorthwindHost

    NorthwindHost Active Member

    Joined:
    Mar 13, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lynbrook, NY
    Try running /scripts/easyapache

    and choose option 6.

    In there ask you should see something to increase FD_SETSIZE
     
  6. Darkedge

    Darkedge Active Member

    Joined:
    Aug 16, 2001
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Tied that as well

    I have done that as well.
     
  7. kokoman

    kokoman Active Member

    Joined:
    Nov 28, 2002
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    BA, Argentina
    I was having the same problem, in my case it was due a Kernel update.

    I fix this problem modifying a value in the file 'posix_types.h' in my distro this file is in '/usr/src/linux-KERNELVERSION/include/linux/'

    The original value for the info in that file was

    #define __FD_SETSIZE 1024

    The new value is

    #define __FD_SETSIZE 4096


    Martin

    cPanel.net Support Ticket Number:
     
  8. dwayrynen

    dwayrynen Member

    Joined:
    Jun 19, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Changing the FD_SETSIZE value does not *fix* the problem, it just extends the amount of time before the problem occurs.

    Under cpanel, the file descriptors are growing everytime apache is reset - which the cpanel log rotate script does every ten minutes or so.

    Darin

    cPanel.net Support Ticket Number:
     
  9. marius

    marius Well-Known Member
    PartnerNOC

    Joined:
    Jun 10, 2002
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest
    so what should we do in order to solve the problem.
    i had my server down (apahce) for more than 12 hours (sunday to monday morning) and our clients are getting crazy.

    thanks

    marius

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page