Skip to main content
Darren Johnson
Participating Frequently
Jun 13, 2024 7:42 PM UTC

Pool Users

Hi,

Is there anyone successfully monitoring pool users. That is using the LISTUSER command or any other utility.

I can see in LISTUSER the USRTYPE column displays pooled but which account is it connecting to. This is UNIDATA 8.3.1



------------------------------
[Darren] [Johnson] [Australia]
[Snr Dev Engineer]
[Indue]
[Brisbane] [QLD] [Australia]
------------------------------

    8 replies

    MARY E SCHULZ
    Rocketeer
    Jun 14, 2024 11:11 AM UTC

    Hi,

    Is there anyone successfully monitoring pool users. That is using the LISTUSER command or any other utility.

    I can see in LISTUSER the USRTYPE column displays pooled but which account is it connecting to. This is UNIDATA 8.3.1



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    [Indue]
    [Brisbane] [QLD] [Australia]
    ------------------------------

    Hi Darren,

    Rocket MultiValue Performance Experience (MVX) v1.10 with UniData 8.3.2 offers three events that monitor connection pools: 1) High Connection Pool License Usage 2) Connection pool request processing time and 3) Connection pool refused connections.  Once MVX is installed, you can set up email notifications for when these event trigger.  Also, you can adjust the trigger thresholds to meet your needs. MVX offers over 40 events.

     If you are interested in demo of MVX, I'll be happy to meet with you.



    ------------------------------
    MARY E SCHULZ
    Sr. Product Manager, MultiValue Experiences
    Rocket Software
    mschulz@rocketsoftware.com
    ------------------------------
    Darren Johnson
    Participating Frequently
    Jun 16, 2024 7:23 PM UTC

    Hi Darren,

    Rocket MultiValue Performance Experience (MVX) v1.10 with UniData 8.3.2 offers three events that monitor connection pools: 1) High Connection Pool License Usage 2) Connection pool request processing time and 3) Connection pool refused connections.  Once MVX is installed, you can set up email notifications for when these event trigger.  Also, you can adjust the trigger thresholds to meet your needs. MVX offers over 40 events.

     If you are interested in demo of MVX, I'll be happy to meet with you.



    ------------------------------
    MARY E SCHULZ
    Sr. Product Manager, MultiValue Experiences
    Rocket Software
    mschulz@rocketsoftware.com
    ------------------------------

    Thanks for that. Does MVX support which Account the Connection pool is connected to?

    That's my issue, I have multiply login accounts connection pools are assigned to



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    [Indue]
    [Brisbane] [QLD] [Australia]
    ------------------------------
    KarlPozmann
    Participating Frequently
    Jun 17, 2024 7:15 AM UTC

    Hi Darren,

    Rocket MultiValue Performance Experience (MVX) v1.10 with UniData 8.3.2 offers three events that monitor connection pools: 1) High Connection Pool License Usage 2) Connection pool request processing time and 3) Connection pool refused connections.  Once MVX is installed, you can set up email notifications for when these event trigger.  Also, you can adjust the trigger thresholds to meet your needs. MVX offers over 40 events.

     If you are interested in demo of MVX, I'll be happy to meet with you.



    ------------------------------
    MARY E SCHULZ
    Sr. Product Manager, MultiValue Experiences
    Rocket Software
    mschulz@rocketsoftware.com
    ------------------------------

    Does this work with Universe  as well?



    ------------------------------
    Karl Pozmann
    Akron, OH
    ------------------------------
    MARY E SCHULZ
    Rocketeer
    Jun 17, 2024 7:44 AM UTC

    Does this work with Universe  as well?



    ------------------------------
    Karl Pozmann
    Akron, OH
    ------------------------------

    Yes, it works on Universe 11.3.4 or higher, but not v 12, and will not be supporting UV 14 for a while.



    ------------------------------
    MARY E SCHULZ
    Sr. Product Manager, MultiValue Experiences
    Rocket Software
    mschulz@rocketsoftware.com
    ------------------------------
    Mark Copp
    Participating Frequently
    Jun 17, 2024 9:31 AM UTC

    Thanks for that. Does MVX support which Account the Connection pool is connected to?

    That's my issue, I have multiply login accounts connection pools are assigned to



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    [Indue]
    [Brisbane] [QLD] [Australia]
    ------------------------------

    Hi Darren,

    I use 'lsof' (although on UniVerse) filtering on UserID and Command and outputting the Current Working Directory (CWD) and File Descriptor 4 (IP of initiating endpoint)

    Example:

    lsof -c uvapi_slave -a -u {Service UserID}[,{Service UserID},...] -d cwd,4

    COMMAND     PID     USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
    uvapi_sla  7890 srvacct  cwd    DIR        128,0x17003   110592   29 /data/TESTACCOUNT
    uvapi_sla  7890 srvacct    4u  IPv4 0xe0000017f0243a00      0t0  TCP uvserver.local:31438->1.2.3.4:41562 (ESTABLISHED)
    uvapi_sla  4567 srvacct  cwd    DIR        128,0x17003   110592   29 /data/TESTACCOUNT
    uvapi_sla  4567 srvacct    4u  IPv4 0xe000001af761bc80      0t0  TCP uvserverlocal:31438->1.2.3.5:59046 (ESTABLISHED)

    From this you can see which UV/UD account your service UserID's are logged in to and where the connection was initiated from, if you don't have dedicated Connection Pool service UserID's then  you could always use LISTUSER to obtain the PID of the process of interest and then use:

    lsof -p {PID} -d cwd,4

    I don't have UniData and not sure what OS you're running on so not able to give you exact examples but hopefully some useful pointers.



    ------------------------------
    Mark Copp
    Infrastructure Design
    Travis Perkins Trading Company Ltd
    Northampton GB
    ------------------------------
    Darren Johnson
    Participating Frequently
    Jun 17, 2024 9:41 PM UTC

    Hi Darren,

    I use 'lsof' (although on UniVerse) filtering on UserID and Command and outputting the Current Working Directory (CWD) and File Descriptor 4 (IP of initiating endpoint)

    Example:

    lsof -c uvapi_slave -a -u {Service UserID}[,{Service UserID},...] -d cwd,4

    COMMAND     PID     USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
    uvapi_sla  7890 srvacct  cwd    DIR        128,0x17003   110592   29 /data/TESTACCOUNT
    uvapi_sla  7890 srvacct    4u  IPv4 0xe0000017f0243a00      0t0  TCP uvserver.local:31438->1.2.3.4:41562 (ESTABLISHED)
    uvapi_sla  4567 srvacct  cwd    DIR        128,0x17003   110592   29 /data/TESTACCOUNT
    uvapi_sla  4567 srvacct    4u  IPv4 0xe000001af761bc80      0t0  TCP uvserverlocal:31438->1.2.3.5:59046 (ESTABLISHED)

    From this you can see which UV/UD account your service UserID's are logged in to and where the connection was initiated from, if you don't have dedicated Connection Pool service UserID's then  you could always use LISTUSER to obtain the PID of the process of interest and then use:

    lsof -p {PID} -d cwd,4

    I don't have UniData and not sure what OS you're running on so not able to give you exact examples but hopefully some useful pointers.



    ------------------------------
    Mark Copp
    Infrastructure Design
    Travis Perkins Trading Company Ltd
    Northampton GB
    ------------------------------

    Thanks, for the responses. We are using Windows Server, so I can attempt to convert these commands



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    [Indue]
    [Brisbane] [QLD] [Australia]
    ------------------------------
    Christian Bristow
    Rocketeer
    Jun 18, 2024 6:25 AM UTC

    Thanks for that. Does MVX support which Account the Connection pool is connected to?

    That's my issue, I have multiply login accounts connection pools are assigned to



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    [Indue]
    [Brisbane] [QLD] [Australia]
    ------------------------------

    Hi Darren, Yes it does



    ------------------------------
    Christian Bristow
    TSE
    Rocket Software Inc
    Waltham MA US
    ------------------------------
    Mark Copp
    Participating Frequently
    Jun 18, 2024 9:01 AM UTC

    Thanks, for the responses. We are using Windows Server, so I can attempt to convert these commands



    ------------------------------
    [Darren] [Johnson] [Australia]
    [Snr Dev Engineer]
    [Indue]
    [Brisbane] [QLD] [Australia]
    ------------------------------

    If your version of UniData DataBasic on Windows supports USERINFO() in the same was as UniVerse on UNIX,

    you could look at the results of USERINFO(1, PID, RESULTS)

    where RESULTS is a Dynamic array detailing Port, UID, PID and Current Working Directory amongst other fields, use that with your original LISTUSER output



    ------------------------------
    Mark Copp
    Infrastructure Design
    Travis Perkins Trading Company Ltd
    Northampton GB
    ------------------------------