*BSD News Article 46821


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!uunet!in1.uu.net!news.iij.ad.jp!news.CET.CO.JP!usenet
From: michaelh@cet.co.jp (Michael Hancock)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Can't malloc errors; INND system
Date: Sat, 15 Jul 1995 07:43:02 GMT
Organization: CET/ParkPlace
Lines: 27
Message-ID: <3u7pn6$e3l@diablo.cet.co.jp>
References: <3tsubi$om@news.ais.net>
NNTP-Posting-Host: a05m.cet.co.jp
X-Newsreader: Forte Free Agent 1.0.82

adoane@eagle.ais.net (Andrew J. Doane) wrote:

>The machine is used for news, running INND 1.4sec2.  I apparently have 
>some memory leaks.  INND is trying to fork off NNRP and is failing
>due to malloc errors.

>ps shows that each nnrp is using about 1 meg ram, innd is using about 3.
>I am confused why the system wouldn't just swap out if it was really
>running out of ram.

>Anyone have any ideas?  Is this a known problem?  Other than ps or top,
>is there some commands to display ram/swap status?

Try the following:

ptstat -T

systat -vmstat

ps aux | perl -ane '$tot += $F[4]; print $tot, "\n"  if (eof)'


Michael Hancock
CATENA Enterprise Technologies/ParkPlace
Daiichi Kasuya BLGD 8F, 2-5-12, Higashi Shinbashi, Minato-ku,
Tokyo 105, Japan, Tel: +81-3-3437-1761, Fax: +81-3-3437-1766