Long running python job deployed in RStudio connect (FastAPI)

Hi, I have an FastAPI app deployed to rstudio-connect. One of the app capabilities is to run a batch job (started as a Daemon thread) which does some IO and processing in the background. When starting the batch job I am getting the following error after some time (generally 30min to 50min):

[rsc-session] Terminated subprocess with signal: interrupt

When running the batch job on a personal computer, I am not facing any issues. Does Rstudio connect send an interrupt when task are CPU or IO intensive? If yes how do you solve this kind of problem?

Thank you for your help!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.