Sometimes Apache or mysql stops when I am using it, and I cannot keep an eye on it 24 hours a day. Can it be started automatically after stopping? Sometimes it may be that there are too many users and the memory is not enough, or sometimes the query statement is not written well and it stops. Is there a solution to this problem?