Diagnosing Hung Requests and Task

Which IIQ version are you inquiring about?

8.3

We’ve been having issues with requests (even email requests being redirected to file) and tasks of many sorts simply not being launched. Rebooting seems to help. How can I diagnose the problem better?

We had same kind of problem once a while. normally i do

a. Check your RequestDefinition object called “Email Request”. you might need to increase the maxthread here.
b. check if some request got stuck, you can delete those
c. terminateOrphans please, command run so it will clean stuck task results
d. ClearEmailQueue to clean some stuck emais

but most of time, deleting stuck request solve the issue.

This is interesting, but the core issue is that tasks are not even being created most of the time. Is there a way to monitor the task creation mechanism? Or maybe the event chain within the app?

You can create a Synthetic Transaction monitors for some functionalities that will send alert if request got stuck.

Or you can create a scheduled a rule that can check if a task exceeds a threshold duration and send alerts.