From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26269 invoked by alias); 17 Aug 2012 08:11:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30625 Received: (qmail 27233 invoked from network); 17 Aug 2012 08:11:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at danbala.ifoer.tuwien.ac.at does not designate permitted sender hosts) Date: Fri, 17 Aug 2012 10:11:09 +0200 From: Thomas Klausner To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: Re: pkgsrc patches for zsh [was Re: tgoto issue in zsh-5.0.0] Message-ID: <20120817081109.GU2428@danbala.tuwien.ac.at> References: <20120816120421.GE2428@danbala.tuwien.ac.at> <20120816140734.20a7def9@pwslap01u.europe.root.pri> <20120816132053.GJ2428@danbala.tuwien.ac.at> <20120816142517.188972cd@pwslap01u.europe.root.pri> <20120816142504.GO2428@danbala.tuwien.ac.at> <20120816201848.4b442246@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120816201848.4b442246@pws-pc.ntlworld.com> On Thu, Aug 16, 2012 at 08:18:48PM +0100, Peter Stephenson wrote: > I've backported it to configure.ac, so should all present and correct. Thank you very much. One more issue: Recently NetBSD added support for per-user thread (not process) limits. zsh doesn't seem to support this. # sh # ulimit -a time (-t seconds ) unlimited file (-f blocks ) unlimited data (-d kbytes ) 262144 stack (-s kbytes ) 4096 coredump (-c blocks ) unlimited memory (-m kbytes ) 12186708 locked memory (-l kbytes ) 4062236 thread (-r threads ) 160 process (-p processes ) 160 nofiles (-n descriptors) 128 vmemory (-v kbytes ) unlimited sbsize (-b bytes ) unlimited # zsh # ulimit -a -t: cpu time (seconds) unlimited -f: file size (blocks) unlimited -d: data seg size (kbytes) 262144 -s: stack size (kbytes) 4096 -c: core file size (blocks) unlimited -m: resident set size (kbytes) 12186708 -l: locked-in-memory size (kb) 4062236 -u: processes 160 -n: file descriptors 128 -N 9: socket buffer size (kb) unlimited -v: virtual memory size (kb) unlimited -N 11: 160 getrlimit(2) describes it as: RLIMIT_NTHR The maximum number of simultaneous threads (Lightweight Processes) for this user id. Kernel threads and the first thread of each process are not counted against this limit. See http://netbsd.gw.com/cgi-bin/man-cgi?getrlimit++NetBSD-current for the complete man page. Please let me know if you need more information about this. Thanks, Thomas