sina

Active Member
Mar 7, 2002
38
0
306
Dear Shaun,

We have checked that, used your build apache. Manually limited the ulimit and everything but we still have the issue going on and thats only on 1 server out of 50 servers.

could you please advice
 

Darkedge

Active Member
Aug 16, 2001
35
0
306
:)

Not sure what I did different but after recompiling about 50 times I no longer get any errors machine is stable.
 

fmalekpour

Well-Known Member
PartnerNOC
Dec 4, 2002
85
1
158
I found it at:

/usr/include/bits/typesizes.h

#define __FD_SETSIZE 1024

I changed it to:

#define __FD_SETSIZE 16384

and build the apache again. Now over 2 hours, seems the problem solved.

May be useful for you.
 

qwerty

Well-Known Member
Jan 21, 2003
215
2
168
err I don't even have that file anywhere .. typesizes.h that is.

And I am still having this FD_SETSIZE problem.

Ran easyapache, selected option 6, selected raise fd_setsize limi (server wide), compile finished successfully (checked the server build date).

I also made sure ulimit -n 16384 is at the top of the apachectl file .. and STILL when I run ulimit -n it says 1024

why!?!$!$!$?!%!%%

It's just a matter of time until it crashes now again ...
 

Darkedge

Active Member
Aug 16, 2001
35
0
306
sysctl

I looked at sysctl but am not sure what to do to fix this please help I am sure there are a number of people using freebsd that need help with this.
 

vortech

Well-Known Member
Aug 12, 2001
70
0
306
Man this seems like its becoming more of a problem.. :( Any one found how to fix this yet?
 

drhonk

Active Member
Aug 12, 2001
42
0
306
yeah .. looks like BSD still have this old issue. Been trying to recompile apache few times and the problem still there.