Date: Tue, 30 Sep 1997 13:26:56 -0500 (CDT) From: Adam Martin To: apache-bugs@apache.org Subject: -DHIGH_SLACK_LINE=256 and irix 6.2 Hi, It would seem that the problems described here: *) Attempt to work around problems with third party libraries that do not handle high numbered descriptors (examples include bind, and solaris libc). On all systems apache attempts to keep all permanent descriptors above 15 (called the low slack line). Solaris users can also benefit from adding -DHIGH_SLACK_LINE=256 to EXTRA_CFLAGS which keeps all non-FILE * descriptors above 255. On all systems this should make supporting large numbers of vhosts with many open log files more feasible. If this causes trouble please report it, you can disable this workaround by adding -DNO_SLACK to EXTRA_CFLAGS. [Dean Gaudet] various PRs *) Related to the last entry, network sockets are now opened before log files are opened. The only known case where this can cause problems is under Solaris with many virtualhosts and many Listen directives. But using -DHIGH_SLACK_LINE=256 described above will work around this problem. [Dean Gaudet] are also subject to IRIX 6.2. we came accross this when our virtual host # in httpd.conf exceeded 244 (the actual # of aliased IPs on this machine is 260) when going over this limit odd things like httpd not starting because it couldn't open the error_log file (apache 1.2.4) and our cgi's core dumping upon access (apache 1.2.0). adding -DHIGH_SLACK_LINE=256 in apache 1.2.4 and recompiling seemed to fix the problem. Thanks, Adam Martin Primary Network System Administrator adam@primary.net From marcs@znep.com Sat Apr 18 00:35:04 1998 Date: Wed, 1 Apr 1998 08:22:00 -0700 (MST) To: new-httpd@apache.org Subject: Apache 1.2.5, IRIX 6.2 and imcomplete downloads of some GIF images From: Marc Slemko Reply-To: new-httpd@apache.org >Message-ID: <980401130114.AA11311@dojo.mi.org> >Date: Wed, 1 Apr 1998 13:01:14 GMT >Path: scanner.worldgate.com!news.maxwell.syr.edu!nntprelay.mathworks.com!enews.sgi.com!dojo.mi.org!not-for-PROFS >Newsgroups: comp.infosystems.www.servers.unix >From: Mike O'Connor >Subject: Re: Apache 1.2.5, IRIX 6.2 and imcomplete downloads of some GIF images >References: <3515CF82.83C6EAE1@codon.nih.gov> <6f4n9n$651$1@scanner.worldgate.com> >Reply-To: Mike O'Connor >Organization: The Internet >Lines: 61 >Xref: scanner.worldgate.com comp.infosystems.www.servers.unix:40851 In article <6f4n9n$651$1@scanner.worldgate.com>, Marc Slemko wrote: :Smells like an IRIX kernel bug that I have seen. It isn't particular :to any type of files, it just happens more on larger ones. I think :this was introduced with a SGI rollup patch a number (not sure how :many... could even be six...) of months ago. Try backing out some :of your kernel patches if you can. If not, try adding the latest :patches; not sure if there are any out, but if so they may fix it. Or :they may not. : :If you have an IRIX support contract, _please_ be sure to get in :touch with SGI and complain about this. I am almost certain it is :a IRIX kernel bug. You can refer them to PR#1710 in the Apache :bugdb (http://bugs.apache.org/index/full/1710) for details. : :It is my understanding that SGI is aware of the bug, however I :do not know if they have a solution available yet and customer :pressure always helps. I _think_ the bug is fixed with patch 2673 -- just recently released. :In <3515CF82.83C6EAE1@codon.nih.gov> Brad J Zoltick writes: : :>Under IRIX 6.2 and Apache 1.2.5, I have the problem that some of my GIF :>files on :>my webserver only partially download. That is, the browser seems to :>think the image :>is completely download but only a third to one-half of the image is :>displayed. It seems to :>happen only with GIF images but this may be only because the converted :>jpeg image :>are smaller. : :>I have read the bug report about the FIN_WAIT issue on the Apache :>website on :>some UNIX systems and have applied all the patches that are recommended :>for IRIX 6.2 :>but this has not fixed the problem. I have experimented with various :>time-out parameters :>but this has not solve the problem. : :>I am running Apache 1.2.5 on a multi-homed server (Indigo R4400) :>supporting 6 lightly :>used webservers (only a few thousand hits per day). : :>Have other people experienced this problem? Considering how popular :>Apache is, :>others must be having this problem. Is there a solution for incomplete :>downloads of GIF images :>when using an IRIX 6.2 host? : :>Brad Zoltick :>National Institutes of Health :>Email: brad@codon.nih.gov : -- Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481