0

I have this several Shiny sleeping processes consuming some resources. Do you know how they are created and why they remain?

htop command

I think it slows down the response time.

I found these topics but I couldn'l really get a final solution. References: link1 link2

1 Answers1

0

I think I solved this question.

The sleeping processes are/were caused by reactiveTimer function. So in order to solve it you just need to add a second argument like this:

reactiveTimer(300000, session = getDefaultReactiveDomain())

When you close your app session it will also stop/kill the sleeping processes.