Killing an endless loop

I ran a simulation today and it appears like its stuck in an “endless loop”. It’s been a few hours, and whenever I try to run something, I get an error: [quote]
ERROR: You have a ‘Simulation’ request in progress. Please try again later.
[/quote]

Is there any way to kill a process which is stuck?

Thank you for your advice.

I run into this as well. I have some very code intensive sims/screens that will take hours to run depending on the lookback period.

When you get that error it means the sim is still running on the server. If you go into your models you will find the results are there…

BTW, this is related to another post you made about how variables are calculated and stored. I’m told that any Fcross-sectionals are run first then it loops back to the others.

sthorson,

I believe you are correct. I discussed something similar recently in another thread: https://www.portfolio123.com/mvnforum/viewthread_thread,10297_offset,10

//dpa

This loop is still running. It’s unintended and killing me.

A few years ago you could kill a loop by logging out.

Thanks. I tried that a few times with no result.

Do you remember what triggered this behavior?

It was a reference to an external ranking system (i.e., “Rating()”) within a portfolio that already uses a very cumbersome ranking system. I just tried something out that really wasn’t worth the time and resources.

However, instead of wasting 20 mins to wait for the simulation to end or error out, I was waiting more like 8 hours.

Recommend: kill switch.

I have never run into a so long sim, but I have sometimes wished having a “kill task” button. Would it be possible to add such a feature for a reasonable dev cost and without harming system stability? It is not a priority, but it may save significant user time and server time.