Subject: port-sparc/30918: 'unlimit' causes memory allocation to fail on sparc
To: None <port-sparc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <macallan@netbsd.org>
List: netbsd-bugs
Date: 08/05/2005 12:00:00
>Number:         30918
>Category:       port-sparc
>Synopsis:       'unlimit' causes memory allocation to fail on sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 05 12:00:00 +0000 2005
>Originator:     Michael Lorenz
>Release:        -current from 08/02/2005
>Organization:
>Environment:
NetBSD bowmore 3.99.7 NetBSD 3.99.7 (KRUPS) #15: Thu Aug  4 21:38:45 EDT 2005  ml@Inishowen:/stuff/build/obj_sparc/sys/arch/sparc/compile/KRUPS sparc

>Description:
with limits removed various programs fail with this:
Couldn't allocate stack for idle thread!: Cannot allocate memory

it seems to be sparc-specific, I've been unable to reproduce it on any other architecture, including sparc64, but all of them have a lot more RAM than my sparcs ( which both have 64MB )
>How-To-Repeat:
~> nslookup www.netbsd.org
Server:         192.168.0.11
Address:        192.168.0.11#53

Non-authoritative answer:
Name:   www.netbsd.org
Address: 204.152.190.12

~> unlimit
~> nslookup www.netbsd.org
nslookup: Couldn't allocate stack for idle thread!: Cannot allocate memory

>Fix: