This is a real troubleshooting example that I just did yesterday for a high CPU usage java application. The application uses tomcat and runs on AWS EC2. Login into the box, and change to root user so you can see all users' process. sudo su - Install htop if you have not installed it before, the run it. … Continue reading Troubleshoot high CPU usage java process
Category: Scripting
LuaXML_lib.so: wrong ELF class: ELFCLASS32
In a recent project, we use OpenResty (Scalable Web Platform by Extending NGINX with Lua) as API gateway. Nginx hosts the webserver, and Lua script stores the logic. One of our Lua files needs LuaXml modue to parse xml files. But the module is not installed by default in OpenResty. So we get this error … Continue reading LuaXML_lib.so: wrong ELF class: ELFCLASS32
Bamboo plan for AWS build part 3
Continue with the Bamboo plan for AWS build, now it is time to look into the deployment plan. For each environment, I got 4 sub plans: Create Stack, Deploy Config, Swap URL and Delete Stack. Create Stack: As explained in the part 1, Stack means the infrastructure. e.g A Nginx stack has those components: ELB, Autoscaling … Continue reading Bamboo plan for AWS build part 3
Bots Club
Are you using Slack? If yes, are you using Bot on Slack? If yes, do your Bots talk to each other? I guess most of them probably don't. The following picture should be familiar to you, people talk to each other on Slack. Have you ever seen Bots talk to each other like we do? This … Continue reading Bots Club
Autosam Release
Autosam is a project that I created to automate the Akamai Cloudlets Edge Redirect from end to end, including add new rules, remove duplicated rules if there are any, push to staging, test in staging, push to production, test in production. Now it is available for download from my Github repo. Enjoy Autosam 🙂