Server stops responding after some time

Have installed DF version 2.1.1 on AWS on T2.micro instance which was running fine and until two days the server stops responding to requests. The page wont load. It is again fine after a restart using ctlscript.sh restart command but again randomly stops serving pages.

Could any one please help with this problem. ?

Edit your .env file and set DF_LOG_LEVEL=DEBUG
Then restart the stack.

Then when it stops responding, check the logs in storage/logs/dreamfactory.log to see what is going on when the server locks up. That’s a good first step for troubleshooting.

Hi Drew,
I have debug turned on. Lets see. It is strange that the server has not locked up after the day i posted in the forum. Have to wait for it to get locked again.

Thanks for the help.