tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: resource leak in linux emulation?
On Thu, Mar 27, 2014 at 02:00:37PM +1300, Mark Davies wrote:
> On a NetBSD/amd64 6.1_STABLE system, I have a perl script that
> effectively calls /usr/pkg/java/sun-7/bin/javac twice. It doesn't
> really matter what java file its compiling.
> If I call this script in an infinite loop, after an hour or so the
> javac's start failing with memory errors:
>
> # There is insufficient memory for the Java Runtime Environment to
> continue.
> # Cannot create GC thread. Out of system resources.
>
> and after some more time the perl fails to fork (to exec the second
> javac)
>
> 23766 1 perl CALL fork
> 23766 1 perl RET fork -1 errno 35 Resource temporarily
> unavailable
>
> Mar 27 11:43:24 test /netbsd: proc: table is full - increase
> kern.maxproc or NPROC
>
> But all through this top et al tell me there are plenty of processes
> and memory
I think this has been seen before.
But I can't remember the resolution.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index