Release Automation

Nolio KB: How do I find out what is blocking my process from running? 

Jul 08, 2014 09:08 PM

When using Nolio with a large amount of processes and users, sometimes multiple processes require the same resources.
You won't be able to start a process due to another process using that agent.
This can create blocked processes that won't run and backup your deployment pipeline.
The best practice is to schedule and verify that a single process is running at one time.
Alternatively you can set the Multi-Process server as a Utility server to allow it to run more than one process at a time.
You can analyse the situation using the Blocked Runs Tab, located in the Environments tab, when you choose the Application root:

 

This view will give you concise and accurate information about which Processes are waiting and which Processes are blocked.
From here you can either trouble shoot the blockage or cancel the Problem process.
If this doesn't show where the problem is then you can run the Online Jobs report from the reports tab, to see If the process is active.
However, contrary to what is stated in the error message, the Active Process Runs window does not show the mentioned process nor the mentioned server running a different process.
In rare cases, the process status is shown as active in the Nolio Center Active Runs list although it is not active anymore.
The Solution
1. Connect to Nolio Center JMX with port 20203 (http://{NAC}:20203). The default credentials for JMX is "nolio" for both username and password.
2. On the Nolio Agent page, on the Server view tab, scroll to the end of the page to the Domain: noliocenter subsection and select the noliocenter:type=info link.
3. In the displayed MBean View page, in the listAllRuns section select the Invoke button.
4. In the Invocation successful page locate the faulty process record and write down its PID.
In the following example the PID is 345.
345 Check condition (May, 18 2010, 08:51:11)FLOW_FAILED_PAUSED Tue May 18 08:51:13 IDT 2010
5. Return to the MBean View page and scroll to the removeProcessRun section.
6. Under Parameters enter the PID in the text filed and select the cooresponding Invoke button.
7. After the Invocation Successful message is displayed, return to the MBean View page and repeat step 3 and 4 to confirm that the PID does not exist anymore.
8. Now Re-run the process in Nolio.

 

This document was generated from the following discussion: Nolio KB: How do I find out what is blocking my process from running?

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.