[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2830.0. "RSF user(s) not being logged out" by TINNIE::SETHI (Ahhhh (-: an upside down smile from OZ) Wed Jun 09 1993 06:33

    Hi All,
    
    A customer has ALL-IN-1 IOS version 3.0 installed and is having a
    problem with the Reogranise System Files (RSF) housekeeping procedure.
    
    RSF fails logout a user from ALL-IN-1 IOS, when the convert is being
    done on the PENDING and SDAF files an error message is displayed:
    
    %CONV-F-OPENIN, error opening <filename> as input
    -RMS-E-FLK, file currently locked by another user
    Convert failed for "filename"
    
    The user in this case had set host via a DECworkstation to the ALL-IN-1
    IOS cluster.  I have tried to reproduce the problem here and have been
    unable to.  For example I had logged in users as follows:
    
    1. $ALLIN1/USER=whatever
    2. $ALLIN1/USER=whatever/NODEFER to get a sub-process spawned
    3. $ALLIN1/USER=whatever and user in the WPS-PLUS editor and the icon
       not selected
    
    I asked the customer if he has a "process killer" installed, UIS
    NOTIFY process killer is installed.  I have asked the customer to stop
    the "process killer" process and ensure that there aren't any
    processes hanging around that have been terminated but for some reason
    are hanging around.
    
    The customer will add $ show system in the ALLIN1 account's login.com
    and a $show device/files oa$data in OA$LIB:SMREORG.COM, just before the
    convert/nosort/fdl.... line.
    
    One more bit of information the user was logged in on the same node as
    the RSF ran, just thought that I would add this in maybe of some help.
    The logfile shows that all the FCSers were shutdown and all users
    logged out.  
    
    The customer will do a RSF this Friday, so in the mean time do any of
    you have any ideas what else may have caused the problem !!  As I have
    mentioned that only PENDING and SDAF are locked.  I am running out of
    ideas.
    
    Regards,
    
    Sunil
T.RTitleUserPersonal
Name
DateLines
2830.1FCS?AIMTEC::WICKS_AU.S.A 2 England 0 - I was there!Tue Jun 15 1993 23:399
    
    Sunil,
    
    are you sure it isn't the FCS that has these files locked - i'm
    guessing since hundreds of your other notes last week are about the FCS
    
    Regards,
    
    Andrew.D.wicks
2830.2Does FSC access PENDING.DAT and ATTENDEE_OVERFLOW.DAT ?TINNIE::SETHIAhhhh (-: an upside down smile from OZWed Jun 16 1993 06:5829
    Hi Andrew,        
    
    Does the FCS access PENDING.DAT and ATTENDEE_OVERFLOW.DAT ?  I have
    some doubts about ATTENDEE_OVERFLOW.DAT, maybe Bob (Also known as Mr.
    FCS) can confirm this one way or the other !!!
    
    I made a slight mistake when I asked the customer to do a $ show
    device/files oa$data, I should have asked the customer to use SYSMAN.
    
    mc sysman
    set environment/cluster
    do show device/files oa$data
    
    This would give me a better picture of what is happening on the other
    nodes in the cluster.
    
    Apart from the "does FSC ..." question I have asked I have another one.
    When ALL-IN-1 shutsdown it's shutdown on all nodes in the cluster and
    users who are logged in are gently returned to the DCL prompt.  Would
    any condition prevent this from happening ?  I'll hopeful be able to
    get some more details tomorrow the customer will run the RSF tonight.
    
    Regards,
    
    Sunil
    
    PS - Andrew "U.S.A 2 England 0 - I was there!" you have forgotten the
    ":-)".  Anyway they play soccer not football.  Andrew the Welsh dragon 
    smiles again !!!!
2830.3Hold Screen ?UTRTSC::SCHOLLAERTOeps, even Apeldoorn bellen...Wed Jun 16 1993 08:1715
Hello all,

>Does the FCS access PENDING.DAT and ATTENDEE_OVERFLOW.DAT ?  I have

Must have been a user still logged in. Easy to reproduce by pressing
Hold Screen in an ALL-IN-1 session and running RSF. AST will be delivered,
so no "Some users could not be notified of the shutdown" message
in the log file. But the image wil not exit and the converts on 
both files fail.

Regards,

Jan


2830.4TINNIE::SETHIAhhhh (-: an upside down smile from OZWed Jun 16 1993 08:2817
    Hi Jan,
    
    Yes I know about the old "Hold Screen" and the Stars article stuff the
    problem was discovered at a customer site DownUnder.  But the customer
    assures me that's not the case, I don't trust some of our customers
    hence the show device/files.  Anything else that would cause the
    problem we'll find out soon ....
    
    This problem has been happening since May and was only reported last
    week.  Now could they have one user who always has his hold key down or
    disconnects from the server without logging out ?
    
    I hope this problem is fixed in a PFR.
    
    Regards,
    
    Sunil
2830.5ATTENDEE_OVERFLOW.DAT, what's that?CHRLIE::HUSTONWed Jun 16 1993 14:5614
    
    THe FCS does access PENDING.DAT, but not ATTENDEE_OVERFLOW.DAT (I
    don't even know what that one is :-) ).
    
    One thing that could keep users from being gently kicked out during
    a shutdown, is when the FCS shutsdown, it will let users finish the
    task they are doing. So, if for example, that task was to copy a remote
    drawer to another remote drawer and there were millions (or some big
    number) of documents going on, and the network was particularly slow
    that day, it would appear that the user missed the "get out" message.
    When in fact, he eventually would exit, it just may take awhile.
    
    --Bob
    
2830.6Script Symbiont?IOSG::MAURICENight rolls in, my dark companionThu Jun 17 1993 16:548
    Hi Sunil,
    
    Another possibility: there's a known problem that the Script Symbiont
    doesn't stop for a system shutdown. Does your customer use it?
    
    Cheers
    
    Stuart
2830.7/OVERRIDE the other possibility BUSHIE::SETHIAhhhh (-: an upside down smile from OZMon Jun 21 1993 01:4015
    Hi Stuart,
         
    Thanks for your suggestion the one possibility that we missed was .....
    
    Well one of their users had defined a symbol
    
    a1:==allin1/reenter/override/user="xyz"
    
    It was this one user who had the symbol setup with the /override that
    caused the problem.  It was obvious of course 8^).  Need I say the
    system mangler had a few things to say to the user.
    
    Regards,
    
    Sunil
2830.8<WRITE CHANGE PROFIL USER='TROUBLE',OA$ADMIN=OA$N ....IOSG::PYEGraham - ALL-IN-1 Sorcerer&#039;s ApprenticeMon Jun 21 1993 10:294
    I assume the user in question isn't an an administrator, nor privileged
    anymore??  :-)
    
    Graham
2830.9report /OVER ? UTRTSC::SCHOLLAERTYou name, we support it...Mon Jun 21 1993 12:119
    TRAKTEREN !!!!!!
    
    I don't know how hard it is to notice the ALL-IN-1 manager
    about users beeing logged in by the shutdown command like
    it does when someone is in a spawn-mode.
    
    Regards,
    
    Jan
2830.10One last question I hope ;-) !!!BUSHIE::SETHIAhhhh (-: an upside down smile from OZTue Jun 22 1993 01:1014
    Hi Stuart and Jan,
    
    Well the customer was a bit embrassed and didn't say anything apart
    from please close the call :-).
    
    One question I do have is concerning what Jan has mentioned about if a
    user has spawned than the shutdown procedure will not logout the user.
    Does it kill off the parent process and leave the spawned process
    running ?  What's the reason behind that and any work arounds in place
    to overcome the problem ?
    
    Regards,
    
    Sunil
2830.11Work-roundIOSG::MAURICENight rolls in, my dark companionTue Jun 22 1993 09:1313
    Hi Sunil,
    
>   What's the reason behind that and any work arounds in place
>   to overcome the problem ?
    
    It's do with ASTs not being delivered whilst the user is spawned. There
    are some home-grown procedures around to kill off these processes. The
    one we use on IOSG is a command procedure that finds out who has
    MEMRES.FLB open, and does a stop/id on them.
    
    Cheers
    
    Stuart
2830.12It's all VMS' fault, honest guv'IOSG::SHOVEDave Shove -- REO2-G/M6Tue Jun 22 1993 13:1426
    The shutdown procedure uses the lock manager (as it works across nodes
    in a cluster; this is also one reason why the process needs SYSLCK
    priv). It uses a feature called "blocking ASTs" which let one process
    tell all other processes which are holding a given lock that it's
    required. This happens by delivering an AST to each process.
    
    Unfortunately, for reasons best known to VMS-land, when a process is at
    DCL (because of a control-Y, or SPAWN or ATTACH to another process),
    user-mode AST delivery is inhibited. So the shutdown "message" doesn't
    get delivered to such processes. The process doing the shutdown wits
    for 30 seconds for the deliveries to take place and then tells the
    Manager that it couldn't get through to some users.
    
    The only way out of this is to use a higher access mode than user-mode.
    An attempt was made to put the entire shutdown mechanism into
    Supervisor mode, but this turns out to be amazingly difficult for all
    sorts of other reasons and had to be abandoned. We did change control-Y
    so it effectively did an <EXIT to get rid of the most common case.
    
    Note that this is also the reason for the odd "hangs" you sometimes get
    (not as often now) with DDS, as it uses the same mechanism to do
    SUSPENDs. This doesn't cause problems with SPAWN though as we release DDS
    before the SPAWN and re-connect to it afterwards.
    
    Here endeth the history lesson!
    Dave.
2830.13PSIOSG::SHOVEDave Shove -- REO2-G/M6Tue Jun 22 1993 13:164
    PS - I like the idea of detecting users who are running /OVER. This
    ought to be possible; a "wish"?
    
    Dave.