*BSD News Article 35903


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!news.sprintlink.net!sundog.tiac.net!wizard.pn.com!Germany.EU.net!EU.net!uunet!demos1!dream.demos.su!denis
From: denis@dream.demos.su (Denis Julitov)
Newsgroups: comp.os.386bsd.questions
Subject: NetBSD and Large Programs
Date: 17 Sep 1994 06:29:11 GMT
Organization: Demos Plus Co.
Lines: 31
Message-ID: <35e2c5$ig2@news.demos.su>
NNTP-Posting-Host: denis%@dream.demos.su
X-Newsreader: TIN [version 1.2 PL1]

I have a question, we run a very CPU and memory hogging program and we have
begin to notice that it seems to be crashing in totally un-reasonable
places. Arrays are getting wacked, link lists are getting trashed... The
only reason I think this is a OS problem is that I can run the same program
under a FreeBSD OS and we do not have this problem. I currently set the
following limits in the .cshrc

limit datasize 32767
limit maxproc 160
limit openfiles 256

I have tried changing the stack limit (which I  think is what I need to
alter) but when I do, ANY program I run cases a core dump.. even stuff such
as netstat or who.

Is there something I can recompile in the kernal that might increast the
stack... hopefully clearing up the problem... The reason I think it is a
stack limitation is when running under gdb the program does as we said and
crashes for totaly unknown reasons. We have run the same program, under gdb,
on both Free and Net, so I know it is a OS problem... or a misconfiguration
problem on my part for Net.

Thanks for any solutions you might have.

--

-----------------------------------------------------------------------------
wilsonm@dale.hsc.unt.edu				1:130/28@fidonet.org
Mike Wilson						817-735-5403 (work)
TCOM, Senior Network Tech.				817-220-2000 (BBS)
-----------------------------------------------------------------------------