How many times do I need to rebuild Apache??

masood

Well-Known Member
Jun 14, 2002
78
0
156
[Sat Aug 3 12:17:20 2002] [warn] [csd] filedescriptor (1037) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE

I &probably need to rebuild Apache&?? :p How many times? I did that already two times. But this error continues.

:-(((((((((((((((((((((
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
What version of RedHat?
what kernel?
you included &raise hard server limit& in the apache build right?

if this machine is pre RH 7.1 you'll need to upgrade the kernel to begin with, however.
 

masood

Well-Known Member
Jun 14, 2002
78
0
156
Red Hat 7.3
2.4.18-grsec-1.9.4
Yes, I included &raise hard server limit&
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
I have never seen this occur on a 2.4 series kernel.
Could it perhaps have something to do with the lovely grsecurity patch being added to the kernel?

I wonder if that functionality prevents the server limit from peaking, or something long those lines....

anybody have any thoughts on this?
My experience with GRSecurity = leaves a bit to be desired.
:p

thanks!
 

qlites

Member
Oct 13, 2003
15
0
151
If I recall correctly, each child process is restricted to N_PROC. [ There is an option in grsecurity to enable this aswell, to enforce it that is ].