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: | Ok, I understand. | | A little googling shows that many people have tried adding CFLAGS, but in lots of cases they werent being used. I guess they didn't add them in the right spot, or something else over-wrote the change. | | Could you please check again to make sure it went in? | | Regards, | Peter Please Peter keep the bug address in CC and also please give me the time to look at it. Asking me updates on the problem doesn't help either. Thanks 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 iD8DBQFBnjGrhCzbekR3nhgRAt+zAJ4mLRQEwxXvShsanEnXo+SMkHlHoQCeK5tf OOdGu+cLPPW0Yos9bx2MvQs= =KlOu -END PGP SIGNATURE-
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-
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: | I installed apache, apache-common and apache-utils, but the same error comes up; | | [Wed Nov 10 01:55:34 2004] [warn] make_sock: problem listening on port 443, filedescriptor (1128) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE | | /usr/sbin/apache -v gives: | | Server version: Apache/1.3.33 (Debian GNU/Linux) | Server built: Nov 9 2004 07:10:29 | | Now im confused ;) | | Yes that's ok.. but did you install the packages from the url i gave to you? I explicitly forced FD_SETSIZE to 4096 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 iD8DBQFBlIiBhCzbekR3nhgRAgo7AJ4grMHvHxAbtcRQ+J4hH7odY8Z9WACggKmC uHtyIOjZ1g6Y8VvwuMIhY88= =AnF9 -END PGP SIGNATURE-
Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7?
I installed apache, apache-common and apache-utils, but the same error comes up; [Wed Nov 10 01:55:34 2004] [warn] make_sock: problem listening on port 443, filedescriptor (1128) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE /usr/sbin/apache -v gives: Server version: Apache/1.3.33 (Debian GNU/Linux) Server built: Nov 9 2004 07:10:29 Now im confused ;) - Original Message - From: "Fabio Massimo Di Nitto" <[EMAIL PROTECTED]> To: "Peter Bredlöv" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 09, 2004 7:33 AM Subject: Re: 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: > | No, the kernel is the same as before the upgrade. > | > | I guess I could have just hit the roof of some other limit, I do add vhosts > every day. It just > seemed unlikely to me that it stopped working just then. > | > | I don't really care if this bug(?) was there before or not though. Is there > anything we can > increase without messing up something else that can fix this? I have this in > my /etc/init.d/apache: > | > | [snip] > | case "$1" in > | start) > | should_start > | test_config > | echo -n "Starting web server: $NAME" > | ulimit -n 100 > | $ENV start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON > > /dev/null > | ;; > | [snip] > | > | Notice the ulimit -n command. But this doesn't help (I think it did before > though, but im not sure). > | > | I havent tried building the source package myself, mostly because i dont > know how to do that ;) > > Can you try the packages i built for you here? > > http://people.debian.org/~fabbione/apache/ > > They increase the FDSIZE up to 4096. If they work i will include the changes > in the next upload. > > Thanks > 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 > > iD8DBQFBkGTMhCzbekR3nhgRAjwzAJ91Jzp124qgyyat5wbcdGBT3YIGuwCeP/if > 9BuiI2PxRIVjmUPHb+INPZo= > =njAl > -END PGP SIGNATURE-
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: | No, the kernel is the same as before the upgrade. | | I guess I could have just hit the roof of some other limit, I do add vhosts every day. It just seemed unlikely to me that it stopped working just then. | | I don't really care if this bug(?) was there before or not though. Is there anything we can increase without messing up something else that can fix this? I have this in my /etc/init.d/apache: | | [snip] | case "$1" in | start) | should_start | test_config | echo -n "Starting web server: $NAME" | ulimit -n 100 | $ENV start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON > /dev/null | ;; | [snip] | | Notice the ulimit -n command. But this doesn't help (I think it did before though, but im not sure). | | I havent tried building the source package myself, mostly because i dont know how to do that ;) Can you try the packages i built for you here? http://people.debian.org/~fabbione/apache/ They increase the FDSIZE up to 4096. If they work i will include the changes in the next upload. Thanks 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 iD8DBQFBkGTMhCzbekR3nhgRAjwzAJ91Jzp124qgyyat5wbcdGBT3YIGuwCeP/if 9BuiI2PxRIVjmUPHb+INPZo= =njAl -END PGP SIGNATURE-
Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7?
No, the kernel is the same as before the upgrade. I guess I could have just hit the roof of some other limit, I do add vhosts every day. It just seemed unlikely to me that it stopped working just then. I don't really care if this bug(?) was there before or not though. Is there anything we can increase without messing up something else that can fix this? I have this in my /etc/init.d/apache: [snip] case "$1" in start) should_start test_config echo -n "Starting web server: $NAME" ulimit -n 100 $ENV start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON > /dev/null ;; [snip] Notice the ulimit -n command. But this doesn't help (I think it did before though, but im not sure). I havent tried building the source package myself, mostly because i dont know how to do that ;) - Original Message - From: "Fabio Massimo Di Nitto" <[EMAIL PROTECTED]> To: "Peter Bredlöv" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 08, 2004 8:43 AM Subject: Re: Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7? > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > tag 280206 moreinfo > thanks > > Peter Bredlöv wrote: > | Package: apache > | Version: 1.3.31-7 > | Severity: important > | > | I recently upgraded from 1.3.31-6 to 1.3.31-7. After this, apache wont start > | any more unless I disable the log files I have for my around 2000 virtual > | hosts. > | > | This is a sample row that shows up in my main error log when I try to start > | with logging enabled: > | > | [Tue Nov 2 00:36:40 2004] [warn] make_sock: problem listening on port 80, > | filedescriptor (1069) larger than FD_SETSIZE (1024) found, you probably need > | to rebuild Apache with a larger FD_SETSIZE > | > | Although things are working ok without logging, it would be nice to be able > | to get logging to work again even for this relatively large number of > vhosts. > | Could this be fixed? > | > | Regards, > | Peter Bredlöv > > Did you also change the kernel on this machine? there have been no changes at > all to apache on that > front and i suspect that either you increased the number of vhosts or the > kernel is limiting > something else. > > 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 > > iD8DBQFBjyOghCzbekR3nhgRAuC1AJ9zr2/uwe98OQmwcUQ0Nc6dSAKBQQCeKtsw > L/olb7H8/ZpR7O5nBAfQTIQ= > =3P/g > -END PGP SIGNATURE-
Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 tag 280206 moreinfo thanks Peter Bredlöv wrote: | Package: apache | Version: 1.3.31-7 | Severity: important | | I recently upgraded from 1.3.31-6 to 1.3.31-7. After this, apache wont start | any more unless I disable the log files I have for my around 2000 virtual | hosts. | | This is a sample row that shows up in my main error log when I try to start | with logging enabled: | | [Tue Nov 2 00:36:40 2004] [warn] make_sock: problem listening on port 80, | filedescriptor (1069) larger than FD_SETSIZE (1024) found, you probably need | to rebuild Apache with a larger FD_SETSIZE | | Although things are working ok without logging, it would be nice to be able | to get logging to work again even for this relatively large number of vhosts. | Could this be fixed? | | Regards, | Peter Bredlöv Did you also change the kernel on this machine? there have been no changes at all to apache on that front and i suspect that either you increased the number of vhosts or the kernel is limiting something else. 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 iD8DBQFBjyOghCzbekR3nhgRAuC1AJ9zr2/uwe98OQmwcUQ0Nc6dSAKBQQCeKtsw L/olb7H8/ZpR7O5nBAfQTIQ= =3P/g -END PGP SIGNATURE-
Processed: Re: Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7?
Processing commands for [EMAIL PROTECTED]: > tag 280206 moreinfo Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7? There were no tags set. Tags added: moreinfo > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Bug#280206: apache: Apache wont start, FD_SETSIZE set too low in 1.3.31-7?
Package: apache Version: 1.3.31-7 Severity: important I recently upgraded from 1.3.31-6 to 1.3.31-7. After this, apache wont start any more unless I disable the log files I have for my around 2000 virtual hosts. This is a sample row that shows up in my main error log when I try to start with logging enabled: [Tue Nov 2 00:36:40 2004] [warn] make_sock: problem listening on port 80, filedescriptor (1069) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE Although things are working ok without logging, it would be nice to be able to get logging to work again even for this relatively large number of vhosts. Could this be fixed? Regards, Peter Bredlöv -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-1-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages apache depends on: ii apache-common 1.3.31-7 Support files for all Apache webse ii debconf 1.4.39 Debian configuration management sy ii dpkg1.10.24 Package maintenance system for Deb ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an ii libdb4.24.2.52-17Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-1 XML parsing C library - runtime li ii libmagic1 4.10-3 File type determination library us ii logrotate 3.7-2Log rotation utility ii mime-support3.28-1 MIME files 'mime.types' & 'mailcap ii perl5.8.4-3 Larry Wall's Practical Extraction -- debconf information: * apache/server-name: www.scorpionshops.com * apache/document-root: * apache/server-port: 80 * apache/enable-suexec: false * apache/init: true * apache/server-admin: [EMAIL PROTECTED]