Configuring EC2 for Redis

Ubuntu 18.04 out of the box from AWS is not setup properly to support Redis. Enable Overcommit Memory login via SSH sudo vim /etc/sysctl.conf Add the following to the end of the file and save. # VM for Redisvm.overcommit_memory=1 Reboot the server. Disable Huge Pages From: login via SSH sudo vim /etc/systemd/system/disable-thp.service Add this […]

IT/R&D: Debugging EC2 API Server App Crashes

person pointing numeric print

There are cases where the API server will crash on EC2 without being handled by the JavaScript try/catch. It is possible to run out of resources such as disk or memory on the EC2 server, among a few culprits that are not coding errors. Below are some hints on how to find the issue. Case: […]

Apr 28 2022 9:35 – 10:35 AM Downtime Analysis

9:44AM EST report came in that tenants could not login to production The Live BE server on EC2 was non-responsive when trying to login to Jenkins. Rebooted the EC2 instance after viewing the monitoring reports. Approximately 9:35AM CPU spike to near 100%. Started a rebuild process on Jenkins to force the API to do a […]