Question
· Sep 21, 2021

"Invalid work queue manager category supplied" error after creating queue

Hello,

I'm experiencing a recurrent problem that I haven't found the way to solve, so I'm coming here with the hope somebody can give me a new approach.

To make it short: we are creating categories on-demand to be able to place the maximum numbers of workers in memory, avoiding the limits established by system categories. But from time to time, one of this creation fails and system is no able to start the queue. The error we are getting is:

ERREUR #7823: Invalid work queue manager category supplied 'User.65733'.1<INVALID OREF> 

The code is very simple:

s ^%SYS("WQM","MaxActiveWorkers","User."_decimalGUID)=16
s queue=$SYSTEM.WorkMgr.%New("/multicompile=1",16,"User."_decimalGUID)     
i queue="" w $system.OBJ.DisplayError()

Whenever it happens, I realize that the "set" to the global has not been done hereby the error. I wonder is the set is still pending to be flushed to the system or if a process in the middle fails, that's why I'm coming to you :)

I've tried to find a way to verify the "set" has been done or to really flush it into disk, but I couldn't find. Does anyone have an idea to solve it or to come around?

 

Thanks a lot

Product version: IRIS 2020.1
$ZV: IRIS for Windows (x86-64) 2020.1 (Build 215_0_20763U) Mon Apr 12 2021 10:08:45 EDT
Discussion (1)0
Log in or sign up to continue