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

Conference iosg::all-in-1

Title:ALL-IN-1 (tm) Support Conference
Notice:Please spell ALL-IN-1 correctly - all CAPITALS!
Moderator:IOSG::PYECE
Created:Fri Jul 01 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2716
Total number of notes:12169

2540.0. "OA$AIDA_QUOTA_WARNING_LEVEL" by UTRTSC::SMEETS (Workgroup support) Wed Feb 26 1997 12:40

Hi,

Customer running ALL-IN-1 V3.1 on VMS/AXP has installed A1ADA_ECO01031 in order
to use the AIDA resource monitor.

Now he has defined a OA$AIDA_QUOTA_WARNING_LEVEL of 25% via

$ DEFINE/SYSTEM/EXECUTIVE OA$AIDA_QUOTA_WARNING_LEVEL "25" and has restarted
the AIDA server.

After this he was monitoring the BYTLM of the AIDA proces which was originally	
200,000 and now at this moment some 20,000.

But in the AIDA files there weren't any messages logged.

Questions:

1. Is the BYTLM quota not monitored by this Monitor or did the customer 
   something wrong.

Thanks,

Martin
T.RTitleUserPersonal
Name
DateLines
2540.2clarification - does this help ?IOSG::STANDAGEMy hovercraft is full of eelsWed Feb 26 1997 15:5521
    
    Hi Martin,
    
    This isn't necessarily an answer, but might clarify things.
    
    Setting OA$AIDA_QUOTA_WARNING_LEVEL to 25 will mean that if any
    resource gets within 25% of it's maximum, then the warning mechanism
    will come into place. By default, the warning mechanism is 5 logged
    messages to the AIDA server log file (one per minute), followed by
    REPLY/BELLs to the Manager.
    
    So, in your instance is BYTLM is set to 200,000, you won't get any
    warnings until the AIDA server reaches 75% of that value (150,000).
    
    From your base note I wasn't too sure what the 20,000 value was
    referring to.
    
    
    -Kevin.
    
    
2540.3BYTLM is a pooled quota but...IOSG::SEATONIan Seaton, IOSG Office Server DevelopmentWed Feb 26 1997 17:2733
    Martin,
    
    There are two things that may be relevant here, first is that BYTLM is
    shared among all jobs in a process tree. When a subprocess is started
    part of the BYTLM of the parent is given to the subprocess reducing the
    BYTLM of the parent, the resource monitor checks the CURRENT BYTLM not
    the INITIAL BYTLM of the process. Secondly, BYTLM is altering all the
    time with each QIO/ENQ etc. but the Resource Monitor only runs once
    every minute so a short reduction will not be noticed.
          
    If Aida has started up say 5 DDS subprocesses then each will have been
    given a chunk of the parent's BYTLM reducing the value against which
    the instantaneous BYTCNT is tested so it may still not be within the
    25% limit even though it is within 25% of the INITIAL BYTLM.
    
    It is interesting point that perhaps we should be looking at the
    initial value instead of the current value as this might represent a
    better picture of the threat of quota shortage to the server, hmmm....
    (The other side of that picture is that the DDS subprocesses quotas have
    already been accounted for by the server as it started them so perhaps
    itis correct to only deal with it's own quota.)
    
    To check the various parts of the theory you need to look at the BYTLM
    for the the Aida Server, you can either use f$getjpi(pid,"BYTLM") or
    use the System Dump Analyser (ANALYZE/SYSTEM, SHOW PROC/IND=ipid). You
    can see the BYTCNT via the same method (SDA shows both together)
    comparing the two will show you the current levels.
    
    BTW: the logicals are scanned each interval so you don't need to
    restart the server unless you've stopped the quota checking explicitly by
    defining OA$AIDA_QUOTA_INTERVAL to be 0 at some point.
    
    Ian
2540.4worth checkingGIDDAY::LEHThu Feb 27 1997 05:3921
>    To check the various parts of the theory you need to look at the BYTLM
>    for the the Aida Server, you can either use f$getjpi(pid,"BYTLM") or
>    use the System Dump Analyser (ANALYZE/SYSTEM, SHOW PROC/IND=ipid). You
>    can see the BYTCNT via the same method (SDA shows both together)
>    comparing the two will show you the current levels.

f$getjpi(pid,"bytcnt") is also avail to show the unused value, while 
f$getjpi(pid,"BYTLM") indicates the allocated quota. The accumulated usage can 
be captured with f$getjpi(pid,"bufio"), e.g.

$ slash = "/"
$   bufio=F$GETJPI(pid,"bufio")
$   bytcnt=F$GETJPI(pid,"bytcnt")
$   bytlm=F$GETJPI(pid,"bytlm")
$   WRITE SYS$OUTPUT "BYTLM total/unused/quota  ",BUFIO,slash,BYTcnt,slash,BYTlm

I recalled the warning did work for FCS, but never tried AIDA myself. Should 
be a simple task to try a ridiculously high value, say 98 percent for 
OA$AIDA_QUOTA_WARNING_LEVEL

Hong
2540.5Indeed Bytlm is not monitoredUTRTSC::SMEETSWorkgroup supportTue Mar 04 1997 08:0086
Hi,

First of all thanks for your replies. Sorry, I didn't respond ealier but
I was send to a customer in order to help with a very urgent DEC/EDI problem.

I think Ian is correct in .3. My customer has the warning level defined as 99%
and even than there are no warnings given for the Bytlm.

e.g.
 
26-FEB-1997 21:28:24.14 ************ ************************
    Server starting
26-FEB-1997 21:29:24.15              Resource Monitor
    %OARTL-W-WARNQUOTA, TQCNT has less than 99% remaining
26-FEB-1997 21:29:24.29              Resource Monitor
    %OARTL-W-WARNQUOTA, PGFLQUOTA has less than 99% remaining
26-FEB-1997 21:29:24.41              Resource Monitor
        ASTCNT:     1995/2000                 BIOCNT:     1998/2000
        BYTCNT:   193280/193280               DIOCNT:      500/500
        ENQCNT:     2000/2000                 FILCNT:     1986/2000
         TQCNT:      147/150      WARNING! PGFLQUOTA:   194416/200000   WARNING!
        APTCNT:        0                      GPGCNT:     1952
        PPGCNT:     3408                         STS: 00140001
         STATE: 0000000E                        EFCS: E0000000
          EFCU: E0000000                         PID: 00000135
      WSEXTENT:    65536                     WSQUOTA:     4096
        WSSIZE:     6800                      WSAUTH:     4096
        PRCNAM: "AIDA$SERVER_1"
26-FEB-1997 21:30:25.07              Resource Monitor
    %OARTL-W-WARNQUOTA, TQCNT has less than 99% remaining
26-FEB-1997 21:30:25.18              Resource Monitor
    %OARTL-W-WARNQUOTA, PGFLQUOTA has less than 99% remaining
26-FEB-1997 21:30:25.29              Resource Monitor
        ASTCNT:     1995/2000                 BIOCNT:     1998/2000
        BYTCNT:   193280/193280               DIOCNT:      500/500
        ENQCNT:     2000/2000                 FILCNT:     1986/2000
         TQCNT:      147/150      WARNING! PGFLQUOTA:   194416/200000   WARNING!
        APTCNT:        0                      GPGCNT:     2000
        PPGCNT:     3408                         STS: 00140001
         STATE: 0000000E                        EFCS: E0000000
          EFCU: E0000000                         PID: 00000135
      WSEXTENT:    65536                     WSQUOTA:     4096
        WSSIZE:     9200                      WSAUTH:     4096
        PRCNAM: "AIDA$SERVER_1"
26-FEB-1997 21:31:25.97              Resource Monitor
    %OARTL-W-WARNQUOTA, TQCNT has less than 99% remaining
26-FEB-1997 21:31:26.09              Resource Monitor
    %OARTL-W-WARNQUOTA, PGFLQUOTA has less than 99% remaining
26-FEB-1997 21:31:26.20              Resource Monitor
        ASTCNT:     1995/2000                 BIOCNT:     1998/2000
        BYTCNT:   193280/193280               DIOCNT:      500/500
        ENQCNT:     2000/2000                 FILCNT:     1986/2000
         TQCNT:      147/150      WARNING! PGFLQUOTA:   194416/200000   WARNING!
        APTCNT:        0                      GPGCNT:     2000
        PPGCNT:     3408                         STS: 00140001
         STATE: 0000000E                        EFCS: E0000000
          EFCU: E0000000                         PID: 00000135
      WSEXTENT:    65536                     WSQUOTA:     4096
        WSSIZE:     9200                      WSAUTH:     4096
        PRCNAM: "AIDA$SERVER_1"
26-FEB-1997 21:32:26.89              Resource Monitor
    %OARTL-W-WARNQUOTA, TQCNT has less than 99% remaining
26-FEB-1997 21:32:26.99              Resource Monitor
    %OARTL-W-WARNQUOTA, PGFLQUOTA has less than 99% remaining
26-FEB-1997 21:32:27.10              Resource Monitor
        ASTCNT:     1995/2000                 BIOCNT:     1998/2000
        BYTCNT:   193280/193280               DIOCNT:      500/500
        ENQCNT:     2000/2000                 FILCNT:     1986/2000
         TQCNT:      147/150      WARNING! PGFLQUOTA:   194416/200000   WARNING!
        APTCNT:        0                      GPGCNT:     2000
        PPGCNT:     3408                         STS: 00140001
         STATE: 0000000E                        EFCS: E0000000
          EFCU: E0000000                         PID: 00000135
      WSEXTENT:    65536                     WSQUOTA:     4096
        WSSIZE:     9200                      WSAUTH:     4096
        PRCNAM: "AIDA$SERVER_1"

But if the Bytlm is watched by using G$GETJPI or ANAL/SYSTEM than once sees
a decreasing value.

So I think this should be modified in the documentation or even better modify
the code in order to get a better indication of the remaining BYTLM.

So should I raise an IPMT ?

Martin
2540.6IPMT Level 3 UTO101336 (cfs. 49416)UTRTSC::SMEETSWorkgroup supportThu Mar 06 1997 07:180