Kentico CMS 7.0 Context Help

Worker threads

Worker threads

Previous topic Next topic Mail us feedback on this topic!  

Worker threads

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

On the Debug -> Worker threads tab, you can see which worker threads are currently running in the system and which threads have finished recently. This is particularly useful if your application is consuming significantly more resources than it normally should. It may often be caused by threads running in the background, e.g. threads for Smart Search re-indexing or when sending mass e-mails.

 

The UI is split into two separate sections:

 

Running threads

 

In this section, you can see a list of all worker threads currently running in the system. The Run testing thread button can be used to launch a testing thread in order to verify that threads debugging works correctly.

 

You can perform the following actions with the listed threads:

 

Delete Cancel - cancels execution of the thread (useful if the original window where the thread was started is already closed).

View View - displays a pop-up window showing the current content of the thread log (in case that there is a log), as described below.

 

In the detailed view. you can

 

Finished threads

 

In this section, you can see a list of the latest threads that have finished their activity in the recent past. By adding the following key into the appSettings section of your web.config file, you can limit the number of threads displayed in the list. If the key is not used, 20 threads are displayed by default.

 

<add key="CMSMaxFinishedThreadsLogged" value="10" />

 

For more information about debugging in Kentico CMS, please refer to Developer's Guide -> Development -> Debugging and system information.