sorry for the next error) I'm working on a project with my rpi, which just test on a student website if a teacher is absent, or if a lesson is moved. Actually, the rpi crash totally randomly : after 7-8 hours, or even after 2 day of perfect work
He just stop, the touchscreen "softlock", and the rpi lit up the green and the red light, with no flash. He's working around 45°C and he still have 500Mo of RAM, and many Go left. The touchscreen seem to still work when i tap it, but dont respond. The only way to go out of this situation is to unplug and replug the alimentation cable. There is only a simple keyboard connected, the symbol of undervoltage appear pretty rarely. The GPIO is only use to power on the touchscreen and the camera is connected to the rpi, but isn't use. Also the program make a "report" of is ressource every 3 minutes : he still have many RAM left, the temperature is around 45°C, the CPU isn't overused, the network is still working, He's powered at 5V 2,1A, and he also crash with the touchscreen unplugged. It's a raspberry pi 3b.
Do you have any idea of what the problem can come from? Thank you very much for your answer!