Subject: Re: Source for Xsun
To: Graham Jenkins <c714553@vus415.telstra.com.au>
From: David Brownlee <abs@netbsd.org>
List: port-sparc
Date: 01/17/2000 23:55:13
On Tue, 18 Jan 2000, Graham Jenkins wrote:

> David, you should have random thoughts more often!  This particular one
> seems to have solved my immediate problem.  I tried hard to break it this
> morning, and couldn't.  Does this indicate something that now needs to be
> done to 'Xsun' .. or what ?
> 
	I should trust my hunches more often :)

	The next stage is to work out what limit is the problem.
	My guess would be stack or data - could you try them one by
	one to identify which breaks it (assuming its only one :)

		David/absolute


> 'unlimit' is not actually available to me under 'ksh' so I used the following
> code segment:
>    for P in d s l m n p ; do
>      ulimit -$P `ulimit -H$P`
>    done
> 
>    diff ulimit.before ulimit.after
>    3,4c3,4
>    < data(kbytes)         65536
>    < stack(kbytes)        512
>    ---
>    > data(kbytes)         262144
>    > stack(kbytes)        262144
>    7,9c7,9
>    < locked memory(kbytes) 4350
>    < process(processes)   80
>    < nofiles(descriptors) 64
>    ---
>    > locked memory(kbytes) 13052
>    > process(processes)   532
>    > nofiles(descriptors) 1772
>