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:
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:
• Cancel - cancels execution of the thread (useful if the original window where the thread was started is already closed).
• 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
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.