Have you checked your allocated RAM memory during installation? this could be happening because of you running out of memory, how much memory do you have in your ec2 instance?
You could try to add some more SWAP memory and see if this helps.
1 Like