Mutex cleaned, application could not launch.

I’m getting a Mutex cleaned, application could not launch error on one of my Xojo Cloud applications. Can you folks take a look at it? If you need additional information on which app it is please let me know.

And yes, I have restarted the server (yesterday) but that did not clear the error.

Bob - does that go away if you log in to the control panel and delete the app?

That did the trick. Thanks.

I did this, and reset the server. Things worked. Then in the middle of working with my app, I refreshed the browser and got this error again.
If I delete the app, doesn’t that mean that I need to redeploy it?

Most definitely.

Rather than deleting the app, I quit the app from control panel, and that took care of the problem. It would be good to know what causes this, so we can avoid it happening.

We had a lot of those a few moths back. It was rather painful to isolate it

Xojo said it was either a memory leak in my code or a plugin. (99% sure it was the mysql plugin )

At any rate XC was spawning multiple instance of the app. When there were multiple instances there were Mutex errors

(https://forum.xojo.com/27196-how-many-instances-of-the-application-should-xc-spawn/p1#p238658)

On Xojos advice (thanks Greg!) we added a small utility app that ran: top -b -n 1 in a shell so we could watch for it.
its still running on our dev instance: http://xc.jaymenna.com/Load/

Sometimes we simply had to shut the server completely down (Restart it) as we could not reach in and kill a “Clone”

[quote=249061:@Jay Menna]On Xojos advice (thanks Greg!) we added a small utility app that ran: top -b -n 1 in a shell so we could watch for it.
its still running on our dev instance: http://xc.jaymenna.com/Load/ [/quote]
Are we able to SSH into our cloud accounts? If so, I know how to run TOP with PuTTY. If not, how did you install the TOP utility (or how did you invoke it)?

check out Server Statistics App (project)

Top is already installed, he’s calling it using a shell object.

-b = batch mode
-n 1 = only run once