Crashing and no peers

Hi my node was crashing, restarting, not syncing and no peers for last days. I did fixed that removing electrs and restarting it. I saw that possible fix from a post of someone having problems with knots (I don’t use that) If you guys are having similar problems, try that.