From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from archone.tamu.edu ([128.194.53.42]) by hawkwind.utcs.utoronto.ca with SMTP id <24108>; Thu, 4 May 1995 09:31:56 -0400 Received: from chops.icp.net ([199.0.55.71]) by archone.tamu.edu with SMTP id <25817>; Thu, 4 May 1995 08:34:20 -0500 Received: by chops.icp.net with SMTP id <20652>; Thu, 4 May 1995 09:31:27 -0400 From: Sean Doran Reply-To: smd@sprint.net To: rc@archone.tamu.edu Subject: rc-1.4 leaks under NetBSD 1.0 on SPARCStation 2 Date: Thu, 4 May 1995 09:31:17 -0400 Sender: smd@chops.icp.net Message-Id: <95May4.093127-0400_edt.20652+4@chops.icp.net> Well, I've tried beating it up all over the place, and am about to see if it might be a complier problem (NetBSD 1.0 uses gcc version 2.4.5). Has anyone else used rc on such a setup, and have you noticed this memory leak also? It gets quite serious; I only discovered it one day after rc had eaten up about 40Mbytes of memory... :( This is obviously operating-system dependent, as the same rc-1.4 source tree works just fine under StunOS on the same box. Any help *enormously* appreciated! Sean. - -- Script started on Thu May 4 09:22:32 1995 $ /bin/rc ; ps l$pid UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 32767 4950 4949 12 10 0 152 484 wait S+ pb 0:00.26 /bin/rc ; ps l$pid UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 32767 4950 4949 7 10 0 152 512 wait S+ pb 0:00.28 /bin/rc ; ps l$pid UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 32767 4950 4949 5 29 0 152 528 - R+ pb 0:00.30 /bin/rc ; echo hi there hi there ; ps l$pid UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 32767 4950 4949 2 10 0 152 568 wait S+ pb 0:00.32 /bin/rc ; env HOME=/u/smd LOGNAME=smd-save PATH=/usr/bin:/bin SHELL=/bin/sh TERM=xterm USER=smd-save home=/u/smd path=/usr/bin/bin prompt=;  ; ps l$pid UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 32767 4950 4949 1 10 0 152 620 wait S+ pb 0:00.35 /bin/rc ; whatis USER=smd-save path=(/usr/bin /bin) ifs=(' ' ' ' ' ') home=/u/smd LOGNAME=smd-save prompt=('; ' '') PATH=/usr/bin:/bin pid=4950 TERM=xterm SHELL=/bin/sh HOME=/u/smd ; Script done on Thu May 4 09:23:54 1995