My apps are quitting unexpectedly when server invoked

My apps are quitting unexpectedly when server invoked:
anvil.server.ExecutionTerminatedError: Server code exited unexpectedly: 79b86cfa68

Is there currently an issue?

Thanks,
Jim

I’ve seen this kind of thing when there is a reasonable error but it comes with an unfortunately vague error message.

Can you be more specific about what your app does or better yet, if possible, could you share a clone? (click the :gear: and follow the instructions).

Also, I don’t know if it will help, but do the app logs provide any additional information?

Thanks Allan. Here is a clone:

[EDIT: Clone link removed]

It does use a (widely used) open source library that I requested to have pip installed

Thanks for sharing. Unfortunately, I cannot get an error to occur. The server function runs without error. Is there any special instructions to produce the error (I assume not).

No special instructions. Now I’m getting this:
anvil.server.ExecutionTerminatedError: Server code execution process was killed. It may have run out of memory: da00a935d1

Thanks,
Jim

From my memory (may be wrong), the code is to identify the internal error of Anvil system. There is a link but I cannot find it at the moment

Ah, here you go

Thanks Tony.

Regards,

James Weaver

do you have a backlog of background tasks currently running? We saw that issue there.

Hi all,

This issue is something to do with the qiskit library leaking memory and processes, even when used in a completely reasonable way. We’re investigating now!

1 Like

Thanks Ian.

Regards,

Jim

We have updated our management software to successfully clean up after qiskit's leaks, so you should be back on the road now :slight_smile:

2 Likes

Thanks Anvil support team. I gave a demo to some of my colleagues yesterday who remarked that they didn’t know that something like Anvil exists. Kudos, and thanks again!

Regards,

Jim

3 Likes