[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Bredlöv wrote:
| Hi again.
|
| Hows it going? Im getting desperate over here ;).
|
| I found that FD_SETSIZE is defined in the kernel headers, more specificlly in the file:
|
|  /usr/include/sys/types.h
|
| Maybe you can change it there, perhaps to 4096 or even double that, recompile the package and then
change back?

No. we can't change kernel headers at compilation time.

|
| There is another solution, doing a
|
| export CFLAGS="-DFD_SETSIZE=4096" right before you compile, or adding -DFD_SETSIZE=4096 to your
Configuration-file (in apaches src-dir) in the EXTRA_CFLAGS section and then building.
|

That's what i already did wit the packages you have tested.

| Sounds to me like changing in the kernel header file is the best way,
| then youre guaranteed that it makes it into the build, unlike the last change you did didn't seem
to do?
|

Changing kernel headers is not an option. You can test yourself if you like, but for we cannot due
it for Debian. Not from the apache package at least.

Fabio

- --
Self-Service law:
The last available dish of the food you have decided to eat, will be
inevitably taken from the person in front of you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBnh5mhCzbekR3nhgRAmEAAJ4sO6bx8dsIWKrKd88BpNG4kTnWvgCdF3VH
1y/P+vQZcAGYWC8+T5Y0fSg=
=7xDp
-----END PGP SIGNATURE-----



Reply to: