Opened 3 days ago

Last modified 3 days ago

#449 new defect

ed_mgt creates the initial Other load control group with an absolute maximum of 0

Reported by: Eric Swenson Owned by: Eric Swenson
Priority: major Milestone: MR12.10
Component: Administration Version: MR12.5
Keywords: Cc:

Description

On a new system, no user of a project assigned to the default load control group Other can log in:

l Test
Password:
Load control group full. Please try again later.

load_ctl_status -long shows Other with Tot / Max 0.0/0.0, although its Maxprime is "the rest" of the units:

Group   Maxprime Maxabs  Prime Secondary  Abs    Tot / Max
Other       77.0      3    0.0       0.0    0     0.0/0.0
System       4.0      3    1.0       0.0    0     1.0/3276.0

acct_start_up.ec creates the master group table with ed_mgt. For a new MGT, ed_mgt's initialize_mgt procedure defines the group Other (max_prim = -1) but never sets its constant absolute maximum (group.minamax), which stays 0; num1 and denom1 are 0 too. At each login, load_ctl_ computes the group's absolute maximum from these values. It refuses everyone in the group with as_error_table_$groupmax ("Load control group full") before the Maxprime limit is considered.

The ed_mgt add request sets minamax to 32767 (no absolute maximum) for each group it adds, so System and any other added group work; only the initial Other group is affected. The standard projects are in System, so the problem shows up only when a project is put in Other.

To fix this, initialize_mgt should set group.minamax = 32767 for Other, as add does.

Workaround, and the repair for existing systems, whose MGT already has the 0: run ed_mgt MGT in >udd>SysAdmin>admin, then

f Other
c abs -1 .
w
q

and then install MGT.mgt. It takes effect at the next login.

Change History (1)

Note: See TracTickets for help on using tickets.