107
Views
6
Comments
Queries are running in infinite loop, I found it in logs.
Application Type
Reactive

How to stop these queries running in infinite loop?

2024-09-17 18-14-33
Miguel Defavari da Silva

Hello!

I don't know if this is the best solution, but you can end all infinite loops by restarting your IIS server.

And then you just have to prevent them from happening again.

Best regards!

Miguel

2023-11-23 17-33-32
NE☼

Hi, 

I guess you are possibly calling Advanced SQL in loop. 

Even if any infinite loop has been created, you can try republishing the app after corrections.

If possible, can you share the snapshot of logical flow where this Advanced SQL is being called ?

Any more information can help tracking further..

2024-08-11 13-17-57
Kumar Chandrasekaran

I used an SQL widget in "CreateSLA_Resolution" and I called the "CreateSLA_Resolution " action in "Create Incident" server action.

I deleted the "CreateSLA_Resolution" action itself and published the module but still the query is being executed.

2020-11-25 10-45-32
Mostafa Othman
Champion

Hi Kumar,

You need to review your logic you may use For each widget and in every loop you are calling advanced sql 

Please check action which include query CreateSLA_Resolution or if you can share with us this action  into a sample OML we can check and help you.

2024-08-11 13-17-57
Kumar Chandrasekaran

I used an SQL widget in "CreateSLA_Resolution" and I called the "CreateSLA_Resolution " action in "Create Incident" server action.

I deleted the "CreateSLA_Resolution" action itself and published the module but still the query is being executed.

2024-09-17 18-14-33
Miguel Defavari da Silva

Hello, 

To kill the query process, you must go to the server level, 

Once the logic is running in a infinite loop, you can't stop it by changing the application in service studio or any configurations in service center. Because the process is already launched in the server.

You can restart your IIS server to solve this.

Best regards,

Miguel

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.