*BSD News Article 79211


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!hunter.premier.net!news1.erols.com!news
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.infosystems.www.servers.unix
Subject: Re: Apache + FreeBSD 2.1.0-R = SIGSEGV
Date: Wed, 25 Sep 1996 22:12:54 +0000
Organization: Erol's Internet Services
Lines: 61
Message-ID: <3249AE66.2C88@www.play-hookey.com>
References: <R.fred-2009961527040001@titanium.shocking.com> <52bi0r$p85@pendragon.jsc.nasa.gov>
Reply-To: kbigelow@www.play-hookey.com
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (Win16; U)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:28038 comp.infosystems.www.servers.unix:19729

CRDB Database account wrote:
> 
> Along similar lines:
> 
> We were using NCSA Mosaic.  It crashed with Segmentation
> Violation and a Panic Dump.  We saw Apache and switched
> over to it.  It ran fine for about two weeks.  Now we are
> back to the Segmentation Violations and Panic Dumps.
> 
> Our system:
> 
> Silicon Graphics Indigo2 Extreme.
> 64megs of memory
> Tons of swap space
> 
> Tested out the programs on a Mac running MacHTTP.  They run
> fine there.  All programs are written in Perl.
> 
> The problem occurs (usually) after I do a "reload" from
> Mosaic, Netscape, or whatever browser I happen to be using
> at the time.  I can be on the SGI itself, on another SGI,
> Mac, IBM, anything.  Sometimes the SGI dies after one
> reload, two reloads, or ten reloads.  Once it happened from
> just bringing up an HTML web page (no script involved at
> all).
> 
> I am _REALLY_ at a loss to understand why it is doing
> this.  Any ideas would be helpful.
> 
> My idea to the sysop is that because httpd has to run as
> root, it is stomping on other processes which is causing
> our problems.  But I can't prove it because I can't get a
> look at the dump files (the sysop is a bit paranoid I'd
> find out everyone's passwords).  :-P  Like I really care
> about anyone else's passwords.  I'm just trying to get
> the server working so people can use the software.  :-/
> 
> Anyway, any help you can give would be greatly appreciated.  :-)
> 

I'd need a bit more info, first. Since you're posting here, I assume the
site is running FreeBSD. What are the system settings for MAXUSERS (a
global parameter that actually defines several table sizes and the max
total processes that can run at once) and individual user processes?

If you're running Apache in standalone mode, it immediately forks itself
into five servers in tandem, preparing for multiple hits.

The site administrator really does need to maintain security (I know,
most people, including you and me, don't care diddly about other
peoples' passwords, but *they* need to know such access is forbidden).
However, you'd think he'd be willing to copy those parts of the syslog
files that pertain to the fault over to your directory for you to read.
You should also be able to read Apache's error_log file (under
server/logs ) to see what that can tell you, if anything.
-- 
Ken

Are you interested in   |
byte-sized education    |   http://www.play-hookey.com
over the Internet?      |