extremely vague Python debug question 

I understand this is super vague, but if I have a Python script that I want to run 24/7, but every so often it just stops working (but doesn't error out)...

anything I should check that I might not have thought of?


extremely vague Python debug question 

@schlink the general: dependency on services
broken filesystem pipes (e.g. keeping a file open for the entire duration of the service, and it randomly gets closed without the program being able to handle it)
i would guess that you aren't running the script with a daemon manager, and if you do, is it configured to auto-restart on crash?
Which exit code does your python script crash with?

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!