Hi,
Check the syslog and read the logs exactly befor for the restart. Reason for restart should be power disturbance, process crash log, any loose connections. Check in internal memory that whether you have any core dump file which will be generated during process crash log.