From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c7bc7bb0dd734266,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-05 09:24:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!news.mailgate.org!mygate.mailgate.org!net128-198.mclink.it!not-for-mail From: "Maurizio Fuschetto" Newsgroups: comp.unix.tru64 Subject: Memory consuming script for CSH Date: Thu, 5 Sep 2002 16:24:26 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Message-ID: <80b03cfdcc74c6f6130e83cf4a3db806.105464@mygate.mailgate.org> NNTP-Posting-Host: net128-198.mclink.it Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1031237586 4328 195.110.128.198 (Thu Sep 5 18:24:24 2002) X-Complaints-To: abuse@mailgate.org NNTP-Posting-Date: Thu, 5 Sep 2002 16:24:26 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=net128-198.mclink.it; posting-account=105464; posting-date=1031237586 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.unix.tru64/80b03cfdcc74c6f6130e83cf4a3db806.105464%40mygate.mailgate.org Xref: archiver1.google.com comp.unix.tru64:8563 Under Digital Unix 4.0F and csh, the following script: while (1) sleep 1 kill -USR2 `cat pidfile` end where pidfile contains a pid of a target process, cause the csh in which is executed to eat lot of memory - say, about 500K per second. Interrupting the script execution with CTRL-C, produces the csh to break the script but NOT frees the allocated memory. Replacing `cat pidfile` with a constant or using anything but kill (I tried with echo) does not have such effect. Some tips?? -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG