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.

NEW FD_SETSIZE Prob!!!

Discussion in 'General Discussion' started by mitul, Mar 27, 2003.

  1. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Hello All,

    I have ugraded one of my server 15 days back to WHM 6.0 and it worked prefectly till today. It started giving me the same FD_SETSIZE error.

    I executed easyapache and choose option 5 and choose Increase FD_SETSIZE thing and Recompiled it.

    Now my Apache servers the Web Pages but my error_log is continously saying....

    [Thu Mar 27 13:40:16 2003] [notice] child pid 31865 exit signal File size limit exceeded (25)
    [Thu Mar 27 13:40:17 2003] [notice] child pid 31866 exit signal File size limit exceeded (25)
    [Thu Mar 27 13:40:18 2003] [notice] child pid 31869 exit signal File size limit exceeded (25)
    [Thu Mar 27 13:40:19 2003] [notice] child pid 31871 exit signal File size limit exceeded (25)
    [Thu Mar 27 13:40:25 2003] [notice] child pid 31868 exit signal File size limit exceeded (25)

    This Message is Logged for each and every sec to my error_log now.

    ulimit -n 1024
    ulimit -n 4096
    ulimit -n 8192
    ulimit -n 16384

    This is the order how my ulimit is set in /etc/rc.d/init.d/httpd file.

    I changed it to

    ulimit -n 16384
    ulimit -n 1024
    ulimit -n 4096
    ulimit -n 8192

    But no use :(
    Help pls...:(

    What should i do?

    Regards,
     
  2. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Missing Something!!!

    Hello,

    Stop apache
    ulimit -n 16384
    start apache

    Resolved!!!!

    Regards,
    :)
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    File size limit exceeded means one of apache log files has grown over 2 gigs.
     
  4. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Thanks !!!

    Hello,

    You may be right!!!!

    But doing such tricks resolved the problems Isn't it!!! :)

    Regards,
    :D
     
  5. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Is there another way to fix this without recompiling apache?

    Is ther a file that needs to be cleaned out ir something.

    I have custom mods and try to leave apache alone but I am getting several of these:

    FD_SETSIZE error.

    Moments before my apache bails out.

    Thanks,

    -Charles
     
  6. MattDr2

    MattDr2 Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Norman, OK
    I am having this problem, as well, but none of my Apache logs are at 2GB.

    There -was- a log at 2GB, so I moved it. Still receiving the problem. Next largest log is 1.5GB, and I've tried removing it as well, no luck.

    Apache only dies when enabling SSL support. A graceful restart works just fine (but does not enable SSL).

    Regards,
    Matt
     
Loading...

Share This Page