cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

My Apps get stopped automatically

Abarghodrat
New Contributor II

Hi team,

I have 2 applications in my workspace which they will get stopped sometimes without me knowing the reason. Iโ€™m on premium account and I have to run them when I canโ€™t have access to my app. 
I need help. 

IMG_7803.png

IMG_7790.png

โ€ƒ

โ€ƒ

โ€ƒ

6 REPLIES 6

olivia55mix
New Contributor II

Hello,

Iโ€™m also curious about this issue. Applications stopping unexpectedly can be really frustrating, especially when you rely on them running continuously and donโ€™t always have access to restart them. It would be helpful if there were clearer notifications or logs explaining why an app was stopped, especially for premium users who expect more reliability.



Best Regards
SunPass

Abarghodrat
New Contributor II

Anybody here who can help me? 
Any engineer?

thanks 

Hi,

I think first thing to check is whether this is expected auto-stop behavior or the app is actually crashing.

In Databricks Apps, if the app is Stopped, normally the app config is still there and you should be able to restart it. But if it is Crashed, then logs need to be checked.

Also, depending on the edition/setup, some apps may not be meant to run continuously forever and can stop after some time to manage compute usage. So I would check:

  1. Is it stopping after a fixed time, like around 24 hours?
  2. Is the status showing Stopped or Crashed?
  3. Did you check the app logs from the Apps UI?
  4. If logs are not available after compute stops, try writing important logs to a UC table/volume or external logging location.

If this is expected to run continuously in a premium/workspace setup, then I think it is better to raise a Databricks support ticket also, because they can confirm if this is platform limitation, workspace policy, or app failure.

Hope this helps.

Amit Kumar Singh
Lead Data Engineer | AI-Assisted Data Engineering

Hi Amit,

it is stopped in random hours.

no crash, just stopped.

Don't have access to log after stopped.

how to do try writing important logs to a UC table/volume or external logging location please?

Thanks 

Reza

 

DataNexus
New Contributor II

Could you check the app Logs and tell me what you see when one of them stops?

  • A stack trace or "OOM / killed" โ†’ it's crashing (code/memory fix)
  • Clean shutdown with no error โ†’ it's the compute lifecycle (keep-alive job fix)
  • Nothing / app never fully started โ†’ deployment or dependency issue

If you can paste the last several log lines (redact anything sensitive), I can pinpoint the cause and, if it's the keep-alive route, help you write the small Databricks Job + API call to auto-restart both apps. What does the log show?

Hi there,

when it stopped, i don't have access to log.

 

Thanks

Reza