Bug #701

System-V switching server rqaddr requires full restart

Added by Madars over 1 year ago. Updated 9 months ago.

Status:ClosedStart date:06/13/2021
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

In case if server was running with out rqaddr, we get:

psvc -r :

  SLOT SERVICE NAME NSRV FLAGS CSRVS TCLST CMAX CNODES
------ ------------ ---- ----- ----- ----- ---- --------------------------------
 18210 EXBENCH        15     1     0     0    0 00000000000000000000000000000000

    RES NO IDENTIFIER SERVERS
    ------ ---------- -------
         0  260210702       1
         1  260309009       1
         2  260407316       1
         3  260505623       1
         4  260603930       1
         5  260702237       1
         6  260800544       1
         7  260898851       1
         8  260997158       1
         9  261095465       1
        10  261193772       1
        11  261292079       1
        12  261390386       1
        13  261488693       1
        14  261587000       1

when rqddr was added + xadmin reload, xadmin sreload <server>, we get:

  SLOT SERVICE NAME NSRV FLAGS CSRVS TCLST CMAX CNODES
------ ------------ ---- ----- ----- ----- ---- --------------------------------
 18210 EXBENCH        15     1     0     0    0 00000000000000000000000000000000

    RES NO IDENTIFIER SERVERS
    ------ ---------- -------
         0  260210702       1
         1  260309009       1
         2  260407316       1
         3  260505623       1
         4  260603930       1
         5  260702237       1
         6  260800544       1
         7  260898851       1
         8  260997158       1
         9  261095465       1
        10  261193772       1
        11  261292079       1
        12  261390386       1
        13  261488693       1
        14  261587000       1
        15  264011791      15

Last one is RQADDR, but all others shall be removed after the sreload of server, like this, after full restart:

  SLOT SERVICE NAME NSRV FLAGS CSRVS TCLST CMAX CNODES
------ ------------ ---- ----- ----- ----- ---- --------------------------------
 18210 EXBENCH        15     1     0     0    0 00000000000000000000000000000000

    RES NO IDENTIFIER SERVERS
    ------ ---------- -------
         0  265584654      15

Seems issue only persist if sreload is performed, for full binary restart, service looks like after the fresh start.

History

#1 Updated by Madars 9 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Release notes

After config reload, internal resource id was lost for the servers, thus they was not able to clean up resource ids for services.
This is now fixed.

Available from Enduro/X release 8.0.1+.

#2 Updated by Madars 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF