rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Sean Doran <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	[thread overview]
Message-ID: <95May4.093127-0400_edt.20652+4@chops.icp.net> (raw)



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\x01/bin
prompt=; \x01
; 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


                 reply	other threads:[~1995-05-04 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95May4.093127-0400_edt.20652+4@chops.icp.net \
    --to=smd@sprint.net \
    --cc=rc@archone.tamu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).