2

This is an open question. In our project we have multiple applications hosted from our SDL WEB 8 CMS. Currently, when any user does a bulk publishing, 20/30 items (page/components) at a time, the publishing gets real slow. All items remain in "Waiting for Publish" state for a long time. The queue has to be cleared to again enable successful publishing.

Is there a way to automatically clear the queue of items from a particular user when they push more than, say, 20/30 items for publish?

Please advice on a probable solution for this if any. TIA

3 Answers 3

1

Addressing a few things first.

  1. If you see items stuck in "Waiting for Publish" it means that your publisher(s) don't have enough render capacity. Consider changing the number of render threads (based on actual CPU you have) to improve this.
  2. No, you cannot out-of-the-box remove items from publishing queue simply because people are trying to publish a lot of things (they may have a very valid business reason for that)

Now, to answer your question of

Is there a way, to automatically clear the queue, of items from a particular user, when they push more that say 20/30 items for publish?

Customization necessary. You could easily write a Core-Service based tool that checks the queue regularly (every 60 seconds?) and checks if there's too many jobs pending. I still believe that deleting those transactions is counter-productive, but you could use this tool to change the priority of those transactions to "Low Priority".

If it is a specific user you have trouble with... maybe just talk to him? Or consider adapting his permissions to the Target Types.

1
  • Nuno - thanks for the quick response and detailed inputs. I will speak with our infra first, to check if it is possible to change the number of render threads (based on actual CPU you have) to improve this.
    – guest_2017
    Sep 21, 2017 at 9:09
1

An addition to Nuno's answer basically, since he is right on indicating that if the problem is too many items in the queue, you are basically looking at a publishing performance which is too low for your usecase.

But keep in mind, you might also want to inspect why the publishing actions themselves are so slow, and why so much is being added to the queue. Template Rendering performance might need to be looked at. Also Author education about the Content Process could be required (depending on if all those publish actions are indeed required or not).

Last there is a tool to purge the queue (see the documentation), but that is most likely NOT something you actually want to use in this case!

2
  • Yes Bart, indeed Author education about the Content Process could be required , and we are also planning to take this up with the concerned team. Simultaneously we also need to see if there is anyway to get a fix from the tool's perspective as well. As for the templates, when we use the template builder tool, the template rendering time is well within acceptable limits.
    – guest_2017
    Sep 21, 2017 at 14:26
  • @guest_2017 You might want to take a look at resolving, when you are in the Publish Dialog, you can click the button [See Items to Publish} and check out which additional items are dragged into the rendering process due to links. If that is not happening, then it indeed sounds like your Publisher is not getting enough resources or maybe the database has a maintenance/performance issue. Sep 21, 2017 at 15:11
0

Deleting the items from the queue will only annoy your editors, causing them the republish the items anyway, but 20 or 30 items is not what I would call bulk. Tridion publishing will scale to huge numbers of items.

It really sounds like you do not have sufficient publishing capacity configured to meet the demands of your editors.

The default settings with 1 publisher machine would only process two items at the same time. It is easy to reconfigure this to publish 4, 8 or 16 items at a time to handle your publishing volumes.

Options:

  1. Configure more publishing threads, default is 2 but you can probably up this to 2 * number of machine cores, or more just as long as you check the CPU loading is ok when publishing.

  2. Configure more publisher machines.

  3. Configure separate publishers for stage and live, use the publisher on the CMS only for stage and add another for live.

  4. Configure separate publishers for publishing groups of publications.

  5. Investigate publishing performance and fix slow template code.

  6. Use workflow to publish content and defer non essential publishing to later in the day.

  7. Use event system to defer publishing to later in the day.

  8. Publishing will add extra load to your cm database, check that your cm database is not holding up publishing.

But at the end of the day, user education is the cheapest solution, remind them that they are sharing the queue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.