From nobody  Wed Nov 19 20:10:10 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id UAA04483;
          Wed, 19 Nov 1997 20:10:10 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199711200410.UAA04483@hub.freebsd.org>
Date: Wed, 19 Nov 1997 20:10:10 -0800 (PST)
From: matt@zigg.com
To: freebsd-gnats-submit@freebsd.org
Subject: running out of swap space causes junk pointers in inetd
X-Send-Pr-Version: www-1.0

>Number:         5098
>Category:       bin
>Synopsis:       running out of swap space causes junk pointers in inetd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 19 20:20:01 PST 1997
>Closed-Date:    Sat Jun 13 11:23:15 PDT 1998
>Last-Modified:  Sat Jun 13 11:24:28 PDT 1998
>Originator:     Matt Behrens
>Release:        2.2-STABLE
>Organization:
International Followers of Matt Behrens, LLC
>Environment:
FreeBSD megaweapon.zigg.com 2.2-STABLE FreeBSD 2.2-STABLE #0: Wed Oct 22 20:30:22 EDT 1997     matt@megaweapon.zigg.com:/usr/src/sys/compile/MEGAWEAPON  i386

>Description:
After a few heavy-duty compilation sessions that caused swap space to run out, the following message appears upon telnet:

inetd in realloc(): warning: junk pointer, too low to make sense.

This problem does not go away until the system is rebooted.  It seems to not affect anything, however.  I've received this message on two separate systems, both 486's with 32M swap; one with 20M real mem, one with 32M real mem.
>How-To-Repeat:
Run out of swap space a few times, then try to telnet in.
>Fix:

>Release-Note:
>Audit-Trail:

From: Franc Grootjen <sparky@tccn.cs.kun.nl>
To: freebsd-gnats-submit@freebsd.org, matt@zigg.com
Cc:  Subject: Re: bin/5098: running out of swap space causes junk pointers in inetd
Date: Mon, 15 Dec 1997 12:25:09 +0100

 Same problem occurs in 2.2.2-RELEASE.
 
 Look like inetd fails to allocate memory during 'out of swap space'
 period. Pointers are however stored (and cannot be realloced).
 
 Problem goes away (of course) after killing and restarting
 inetd (no reboot is required)
 
 Franc
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Jun 13 11:23:15 PDT 1998 
State-Changed-Why:  
Duplicate of PR# 6858 and it has a detailed Audit-Trail. 
>Unformatted:
