Subject: port-hp700/35237: Intensive compiles (e.g. kernels) result in resource limits being exceeded on hp700
To: None <port-hp700-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <dhgutteridge@sympatico.ca>
List: netbsd-bugs
Date: 12/12/2006 02:55:00
>Number: 35237
>Category: port-hp700
>Synopsis: Intensive compiles (e.g. kernels) result in resource limits being exceeded on hp700
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-hp700-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 12 02:55:00 +0000 2006
>Originator: David H. Gutteridge
>Release: current/4-BETA
>Organization:
>Environment:
NetBSD arcusiv.nonus-porta.net 4.99.4 NetBSD 4.99.4 (GENERIC) #0: Wed Nov 29 11:10:54 UTC 2006 root@arcusiv.nonus-porta.net:/usr/src/sys/arch/hp700/compile/GENERIC hp700
>Description:
Compiling a kernel or perl (as root) causes resource limits to be
exceeded, I had to use unlimit in csh to get around that. Apparently this
is not the norm on other ports. (Certainly I've never seen it on older
branches [1.6.x, 2.x, 3.x] on macppc or i386.)
Here is an example generated by running "make test" in lang/perl5:
ext/threads/t/basic.......................ok
ext/threads/t/end.........................ok
ext/threads/t/join........................FAILED--expected 14 tests, saw 12
ext/threads/t/libc........................Internal error, couldn't set TLS
FAILED--expected 11 tests, saw 0
ext/threads/t/list........................ok
ext/threads/t/problems....................ok
ext/threads/t/stress_cv...................Out of memory!
FAILED--expected 64 tests, saw 33
ext/threads/t/stress_re...................Modification of a read-only value attempted at ../ext/
threads/t/stress_re.t line 45.
FAILED--expected 64 tests, saw 23
ext/threads/t/stress_string...............Out of memory!
FAILED--expected 64 tests, saw 33
ext/threads/t/thread......................Scalars leaked: -2
FAILED--expected 31 tests, saw 14
ext/Time/HiRes/t/HiRes....................ok
ext/Unicode/Normalize/t/fcdc..............ok
ext/Unicode/Normalize/t/form..............ok
This is on a machine with 512MB of RAM. I don't know about the tests
above specifically, but at other times I've seen these resource limit
errors when there was plenty of free RAM available according to top(1).
>How-To-Repeat:
Try compiling a kernel or lang/perl5 (the latter can build and run
successfully).
>Fix: