question

Mehrdadh avatar image
0 Votes"
Mehrdadh asked ·

Azure Sphere Runtime SIGKILL

Hi,

When I run my program on Azure Sphere in debug mode, it shows this message and closes the debug:
Program terminated with signal SIGKILL, Killed.
The program no longer exists.

Any advise of why this is happening?

azure-sphere
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AshokPeddakotla-MSFT avatar image
0 Votes"
AshokPeddakotla-MSFT answered ·

Hello @Mehrdadh,

If your application uses too much memory, the Azure Sphere OS terminates it with a SIGKILL signal. For example, in the debugger you'll see the following:

Child terminated with signal = 0x9 (SIGKILL)

The SIGKILL signal also occurs if a high-level application fails to handle the SIGTERM request; see Lifecycle of an application for details.

Also, see Memory use in high-level applications

Hope this helps.


· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Note that, Azure Sphere is yet to be migrated to Q&A. Please post your question directly on the Azure Sphere Forum for the service.

We are actively working to onboard all services. We will make a public announcement once complete.

Thank you for your patience as we evolve the Q&A platform.


0 Votes 0 · ·