post last 50 lines of alert.log just before the restart.
You aren't giving us enough information, no error, no sql's, ...... without information we can't tell you anything.
Which type error do you get?
Please give more information.
This duplicate thread is locked.
Stay in your other thread.