pfmartin

Well-Known Member
Aug 18, 2001
167
0
316
Earth
I am getting a new one here. Suddenly (after a few days) Apache stops responding. It is still running, but just not responding. I need to restart it manually because it will not respond to http requests. Here is what I see in the error log file:

[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:02 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:03 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:03 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:03 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:05 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:05 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
[Sat Jun 15 09:36:05 2002] [warn] [csd] filedescriptor (1029) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE


Please tell me this has a simple solution. :)

Thanks!
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
what version of redhat are you using?
what version of apahe?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
well, you need to raise your file descriptors, as far as the OS is concerned- I thought RH 7.0+ always compensated for this by default.

I am still looking around for some details on this-

I can't imagine this would have anything to do with your MaxClients and StartServers settings towards the top of your apache config (httpd.conf) ..... it seems completely related to the OS's file descriptor limits.

maybe this will bring somebody else out of the woodwork?
I have never had this particular problem on a machine of the RH 7.x variety.
 

pfmartin

Well-Known Member
Aug 18, 2001
167
0
316
Earth
mod_gzip ???

I had been using mod_gzip and I decided to disable it. It looks like that may have done the trick. mod_gzip creates those nasty .wrk files and after a bit apache started complaining about those. Then later on in the logs, the error above. Anyhow, I got rid of mod_gzip and things look to be a little better. I will update this thread if that was the fix.

Anybody else using mod_gzip and had issues with it?
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
702
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
upgrade apache using the buildapache.sea. For one that version of apache has a security hole that was just released and 2 this might solve the problem.

Rebuild apache then reinstall mod_gzip and if you get that error again then i guess just disable mod_gzip.