Phdaemon, yes I wrote it! (was Re: Swapping and wmgr)

Lenny Tropiano lenny at icus.UUCP
Sun May 29 07:46:47 AEST 1988


In article <3030 at crash.cts.com> ford at crash.CTS.COM (Michael Ditto) writes:
... [ some commentary from others left out ] ...
|>
|>Ahh... I'm beginning to understand the setup... I had no idea that
|>phdaemon was such a sneaky program as to go peeking at other processes'
|>user information.  So what happened is phdaemon tried to look at the
|>user structure for something (probably the /etc/ph process) and found
|>that it was not in memory.  Phdaemon's author (isn't that you, Lenny?)
|>didn't provide for this situation and had the program exit instead
|>(probably based on the first version of "fuser", which did the same
|>thing).
|>
Yes, I'm the guilty party.  How do you possibly test something
that get's swapped out when you have 3.0MB of physical memory, 4.0MB of
virtual memory... It's real hard to get 7.0MB of memory intensive things
going, and guarantee that the process that get's swapped out is the
one phdaemon is monitoring... 

Yes, I did use some of the things fuser did (as my comments in the
beginning stated).  The program provided for the swapped process but
just printed a [!!] icon with [eprintf()] and exited quietly.  I probably
should just print:

DATA 2:[Swapped] and ignore it... oh well live and learn.  Maybe I will
modify some of the stuff in phdaemon (I have locally for some things
and some people are pressing me to make it a little more portable with
HDB and non-HDB sites) [Bob (rjg at sialis) you listening :-)]

|>I would guess that that was not directrly related, unless phdaemon is
|>sending some weird stuff to the smgr.  Perhaps you ran out of swap
|>space.
|>
I wouldn't say you ran out of swap space, but most likely the process
got swapped that the LCK..ph1 pid represented.

-Lenny

-- 
US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
           PO Box 1                                     I   C    U   U S
           Islip Terrace, New York  11752               I   C    U   U  SS 
PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
AT&T MAIL: ...attmail!icus!lenny  
UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 



More information about the Unix-pc.general mailing list