You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Marc Slemko <ma...@znep.com> on 1997/11/20 15:40:00 UTC

Re: os-osf/1434: CGIs run using 'rsh' frequently abort prematurely. (fwd)

The following reply was made to PR os-osf/1434; it has been noted by GNATS.

From: Marc Slemko <ma...@znep.com>
To: Apache bugs database <ap...@apache.org>
Cc:  Subject: Re: os-osf/1434: CGIs run using 'rsh' frequently abort prematurely. (fwd)
Date: Thu, 20 Nov 1997 07:27:43 -0700 (MST)

 ---------- Forwarded message ----------
 Date: Thu, 20 Nov 1997 09:02:32 +0000 (GMT Standard Time)
 From: Ray Bellis <rp...@community.net.uk>
 To: marc@hyperreal.org
 Cc: apache-bugdb@apache.org, marc@apache.org
 Subject: Re: os-osf/1434: CGIs run using 'rsh' frequently abort prematurely.
 
 On 20 Nov 1997 marc@hyperreal.org wrote:
 
 > Synopsis: CGIs run using 'rsh' frequently abort prematurely.
 > 
 > State-Changed-From-To: open-analyzed
 > State-Changed-By: marc
 > State-Changed-When: Wed Nov 19 20:17:22 PST 1997
 > State-Changed-Why:
 > I do find it somewhat odd that USE_FLOCK_SERIALIZED_ACCEPT
 > would do anything.
 > 
 > Are you sure nothing else changed when you did this?
 
 There shouldn't have been any other changes, it was exactly the same build
 tree as I normally use but with the #define added in conf.h.
 
 > Is it easy to reproduce the problem?  ie. even if it doesn't
 > happen every other time, can you always make it happen
 > by making a number of requests?
 
 In order to determine the answer to some of your questions I've just
 started the old binary back up and am now unable to duplicate the problem. 
 I'll monitor the situtation and see if we can determine at what point
 the problem reoccurs.
 
 When the problem was apparent we found that one request would work, and
 then we wouldn't be able to make the script work for ages, and then it
 would just start working again for a few requests.
 
 > Do you have a lot of virtual hosts?  How many total
 > Listen directives + logfiles do you have?  Could you
 > be running out of file descriptors?  It is possible
 > rsh is picky and doesn't like high file descriptors.
 
 I'm currently running 159 virtual servers, 'lsof' reports about 172 fds
 per process.  I had considered that lack of file descriptors might be a
 problem but Digital Unix has a getdtablesize() of 4096 and I also tested
 that sizeof(fd_set) is actually big enough to hold that many fds (it is). 
 
 I've only got two listen directives, a global 'Listen 80' and a single-IP
 'Listen xxx.xxx.xxx.xxx:443' for a single SSL virtual server.
 
 Ray.
 
 --
 Ray Bellis, MA(Oxon) - Technical Manager - Oxford CommUnity Internet plc
 Windsor House, 12 High Street, Kidlington, OXFORD OX5 2PJ   UK
       Telephone: +44-1865-856000  Fax: +44-1865-856001
 Email: ray.bellis@community.net.uk   URL: http://www.community.co.uk/