Thread View: comp.sys.next.misc
4 messages
4 total messages
Started by Michael Wasfy Ibrahim
Fri, 31 Jul 1992 21:24
Shell escape in less?
Author: Michael Wasfy Ibrahim
Date: Fri, 31 Jul 1992 21:24
Date: Fri, 31 Jul 1992 21:24
24 lines
1629 bytes
1629 bytes
Hello, I was considering making less the default pager for man until the following happened. Whenever I try to use the shell escape in less my system struggles for about 15 seconds and finally locks. The only way I can get it to reboot is from the ROM monitor. Checking /usr/adm/messages I find the following just before my machine's death: Jul 31 15:52:46 ibrahim-michael mach: vnode_pager: /private/swapdisk/vm/swapfile is full. Hey this sounds like a good reason to crash...unfortunately it does this immediately, that is in about 10-15 seconds a 16 meg swapfile grows to fill a 105 meg disk. Sound reasonable? At least I believe this happens, I'm getting to tired of watching my machine fsck on reboot that I truly don't want to experiment anymore. As far as I know I don't have any hiwater marks set for my swapfile so that shouldn't be the problem. I suppose my question is: Has anyone experienced this type of behavior from less? If so, does anyone know a workaround? Thanks in advance! Michael Ibrahim wasfy@nic.gac.edu
Shell escape in less? Solved
Author: Michael Wasfy Ibrahim
Date: Sat, 01 Aug 1992 02:03
Date: Sat, 01 Aug 1992 02:03
9 lines
964 bytes
964 bytes
Apparently the problems of the less command seem to be inherent to the version distributed by NeXT. I've since acquired less v177 and it works w/out a problem (Thankyou, Jack Bryans, for the advice). It is available from prep.ai.mit.edu in u1/emacs/less-177.tar.Z if anyone is interested. Thanks to all who responded! Michael Ibrahim wasfy@nic.gac.edu
Re: Shell escape in less?
Author: Alex Blakemore
Date: Sat, 01 Aug 1992 15:50
Date: Sat, 01 Aug 1992 15:50
13 lines
1080 bytes
1080 bytes
In article <1992Jul31.212410.18632@bronze.ucs.indiana.edu> wasfy@nic.gac.edu writes: > Whenever I try to use the shell escape in less my > system struggles for about 15 seconds and finally locks. > Has anyone experienced this type of behavior from > less? If so, does anyone know a workaround? Thanks in advance! I tried this with the intention of disproving that anything was wrong with less on the NeXT - as I've found less to a great improvement over more. The same thing happened, but I managed to kill the parent shell before the crash, barely. Its true :( -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Re: Shell escape in less? Solved
Author: Matthew Dillon
Date: Sat, 01 Aug 1992 18:34
Date: Sat, 01 Aug 1992 18:34
25 lines
1514 bytes
1514 bytes
In article <1992Aug1.020352.1707@bronze.ucs.indiana.edu> wasfy@ibrahim-michael.eigenmann.indiana.edu (Michael Wasfy Ibrahim) writes:
>Apparently the problems of the less command seem to be inherent to the
>version distributed by NeXT. I've since acquired less v177 and it works
>w/out a problem (Thankyou, Jack Bryans, for the advice). It is available
>from prep.ai.mit.edu in u1/emacs/less-177.tar.Z if anyone is interested.
>
>Thanks to all who responded!
>
>Michael Ibrahim
>wasfy@nic.gac.edu
It also occurs to me that many of these 'swap file full' errors can be
avoided by setting resource limits appropriately. I.E. limit your
stack to, say, 8MB and run time data to 64MB (or whatever). That way a
runaway program will only take 72MB of swap before it crashes and ONLY
that particular program will crash, instead of the entire system going
south.
-Matt
--
Matthew Dillon dillon@Overload.Berkeley.CA.US
891 Regal Rd. uunet.uu.net!overload!dillon
Berkeley, Ca. 94708 ham: KC6LVW (no mail drop)
USA
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads