ESP8266 freeze over time

Ok I've flashed my old board and it still freeze but now maybe after 1 day...

I'm using pin 2,4,12 for sensors are theses pins connected to a sleep timer?