Raspberry pi needs boot


We are working on a project so we use raspberry pi. But problem is that our pi device needs for boot after using several times. We use 32 GB SD and the tasks running on pi devices are executed based on php and python files. Power Supply provided properly and OS is Linux. What else can cause need for rebooting?