cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Please share the possible reasons about this behavior of queues and worker?

@_1647
13-Aquamarine

Please share the possible reasons about this behavior of queues and worker?

Hi @vdegaonkar ,

I want to know the possible reasons behind -  If suppose we have multiple workers are configured with separate queues and if multiple jobs are there in ready state to publish but all jobs are going to one worker only when other workers are up and running and it results into concurrency issue in BGMS in server status page. And it happens sometimes not regular.

So , Could you please share the possible reasons about this behavior of queues and worker.

3 REPLIES 3
rhart
16-Pearl
(To:@_1647)

I noticed something similar when we added some extra workers and the last worker in list is online but not busy I found an article recommending to have 1.3X more queues than workers, 

vdegaonkar
15-Moonstone
(To:@_1647)

Hi,

 

There is dedicated article explaining how publisher queues are utilized for publishing Article - CS42096 - What is the Mechanism of the Publishing Jobs are assigned among the Priority Queues, Numbered Queues, and Workers? (ptc.com)

 

If all the jobs are going to single worker, then most likely it is configuration issue. Try to validate :

- all configured workers are running and enabled with auto-start

- additional queues configured adhere to pre-requisite. Refer above mentioned and other https://www.ptc.com/en/support/article/CS43769 

- if you still face the issue please contact Technical Support team, they can help such scenario

avillanueva
22-Sapphire II
(To:@_1647)

Here you can see jobs of my workers:

avillanueva_0-1722864379039.png

I believe the CAD agent does scheduling by looking at worker1 always first, then if busy worker2 and so on. This ends up with worker1 doing the most jobs even when the number of jobs exceed the workers. I had mapped this out a while back and it showed law of diminishing returned kicked in at some point. You would obviously need to tune this to your users and system. 

Can you explain more about the "concurrency" issue in your BGMS? Are you seeing red there? Perhaps there is some additional tuning needed there, Screenshots.

Announcements


Top Tags