Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. vishal

    vishal Well-Known Member

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

    Hello,

    Stop apache
    ulimit -n 16384
    start apache

    Resolved!!!!

    Regards,
    :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,483
    Likes Received:
    31
    Trophy Points:
    158
    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:
    166
    Location:
    India
    Thanks !!!

    Hello,

    You may be right!!!!

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

    Regards,
    :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,660
    Likes Received:
    16
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. MattDr2

    MattDr2 Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    156
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice