[comp.sys.sgi] Disappearing debug

LEONARDZ@UOGUELPH.BITNET ("Len Zaifman UoGuelph 824-4120 xt 6566", 519) (09/20/89)

     Our operations group was running a backup recently, which crashed.
The system was brought up again and much to my dismay(at a later date), there
was no /debug file system(using df to show what was there). The processes
seemed to be running normally, and using the command from /etc/init.d
to mountfsys the /debug, it appeared. Can someone explain what was going on?
In particular, how can processes run without swap space?? Are they all kept
in memory?? What would have happened if we ran out of physical memory and
had to swap ??

     Thanks for any help in this matter.

                                            Regards
                                            Len Zaifman

rogerk@mips.COM (Roger B.A. Klorese) (09/27/89)

In article <89Sep19.181545edt.57392@ugw.utcs.utoronto.ca> LEONARDZ@UOGUELPH.BITNET ("Len Zaifman  UoGuelph 824-4120 xt 6566", 519) writes:
>     Our operations group was running a backup recently, which crashed.
>The system was brought up again and much to my dismay(at a later date), there
>was no /debug file system(using df to show what was there). The processes
>seemed to be running normally, and using the command from /etc/init.d
>to mountfsys the /debug, it appeared. Can someone explain what was going on?
>In particular, how can processes run without swap space?? Are they all kept
>in memory?? What would have happened if we ran out of physical memory and
>had to swap ??

/debug (or, in RISC/os, /proc) is *NOT* your swap space.  It's a special
type of virtual filesystem which presents a view of your running processes
accessible through the file namespace.  If it's not mounted, you just can't
use programs (like some debuggers and other tools) that access processes by
opening them like files.  This has *nothing* to do with your swap space.
-- 
ROGER B.A. KLORESE      MIPS Computer Systems, Inc.      phone: +1 408 720-2939
928 E. Arques Ave.  Sunnyvale, CA  94086                        rogerk@mips.COM
{ames,decwrl,pyramid}!mips!rogerk
"I want to live where it's always Saturday."  -- Guadalcanal Diary

tps@chem.ucsd.edu (Tom Stockfisch) (09/29/89)

In article <28319@abbott.mips.COM> rogerk@mips.COM (Roger B.A. Klorese) writes:
#In article <89Sep19.181545edt.57392@ugw.utcs.utoronto.ca> LEONARDZ@UOGUELPH.BITNET ("Len Zaifman  UoGuelph 824-4120 xt 6566", 519) writes:
##     Our operations group was running a backup recently, which crashed.
##The system was brought up again and much to my dismay(at a later date), there
##was no /debug file system(using df to show what was there).
##In particular, how can processes run without swap space?? Are they all kept
##in memory??

#/debug (or, in RISC/os, /proc) is *NOT* your swap space.  It's a special
#type of virtual filesystem which presents a view of your running processes
#accessible through the file namespace.  If it's not mounted, you just can't
#use programs (like some debuggers and other tools) that access processes by
#opening them like files.  This has *nothing* to do with your swap space.
#ROGER B.A. KLORESE      MIPS Computer Systems, Inc.      phone: +1 408 720-2939

But the burning question is...

If your disk is partitioned so that /debug gets, say, 53meg, does that mean
that you only have 53meg of swap space, maximum?
-- 

|| Tom Stockfisch, UCSD Chemistry	tps@chem.ucsd.edu

rogerk@mips.COM (Roger B.A. Klorese) (09/30/89)

In article <574@chem.ucsd.EDU> tps@chem.ucsd.edu (Tom Stockfisch) writes:
>If your disk is partitioned so that /debug gets, say, 53meg, does that mean
>that you only have 53meg of swap space, maximum?

/debug doesn't get *any* space.  It's a figment.  Your swap space is your
swap space.
-- 
ROGER B.A. KLORESE      MIPS Computer Systems, Inc.      phone: +1 408 720-2939
928 E. Arques Ave.  Sunnyvale, CA  94086                        rogerk@mips.COM
{ames,decwrl,pyramid}!mips!rogerk
"I want to live where it's always Saturday."  -- Guadalcanal Diary