OOM Killer Triggered by Excessive PHP-FPM Memory Usage on 2-Core 8GiB Ubuntu Server

✅ Quick Steps to Resolve 1. Check Average Memory Used per PHP-FPM Process Run: ps –no-headers -o rss -C php-fpm8.2 | awk ‘{sum+=$1} END {print sum/NR/1024 ” MiB per process”}’ ➡️ Result: e.g., 96.81 MiB per process 2. Estimate Safe Memory for PHP-FPM ➡️ 6656 / 95 ≈ 70 ✅ Set pm.max_children = 70 3. […]

OOM Killer Triggered by Excessive PHP-FPM Memory Usage on 2-Core 8GiB Ubuntu Server Read More »

Old OIDC/SSO sessions are still lingering, even though their credentials may be expired or the profile was already deleted.

Step 1: Fully remove all aws-vault data Run the following to remove all entries stored in aws-vault: aws-vault remove –all This command clears all sessions and credentials, even if they’re not visible in the list. 🔹 Step 2: Clear from system keychain (if –all doesn’t work) Depending on your OS: Command Line (PowerShell) For Window

Old OIDC/SSO sessions are still lingering, even though their credentials may be expired or the profile was already deleted. Read More »

SSL Setup for .NET Apps Running on Azure Virtual Machines

Goal: Phase 1 : Setup Azure VM and Network Configuration 🖥️ Create an Azure VM: 🌐 Configure Network Settings (NSG – Network Security Group) Navigate to your VM’s Networking > Network Interface > NSG (or directly via the NSG resource) and ensure the following security rules are in place. 🔐 Inbound Security Rules Priority Name

SSL Setup for .NET Apps Running on Azure Virtual Machines Read More »

Set up AWS Identity Center for your organization, configure SSO access

Single Sign-On (SSO) in AWS, now called AWS IAM Identity Center, is a centralized authentication service that allows users to access multiple AWS accounts and cloud applications with a single login. Instead of managing separate credentials for each AWS account or service Benefit Description 🔒 No long-lived keys Uses secure, temporary credentials 🔐 Centralized access

Set up AWS Identity Center for your organization, configure SSO access Read More »

Real-Time Scenario: Migrating Docker Images from Production Server (XYZ Project)

You’re working on the XYZ Project, and you’ve been asked to migrate Docker images (backend, frontend, and Redis cache) from a production Ubuntu server to your local development laptop for testing or backup purposes. 🔍 Docker Images on the Server Run the command on the server: docker images Output: REPOSITORY TAG IMAGE ID SIZE10.0.4.65:5000/live/xyz-api 2021-08-19-10.48.18

Real-Time Scenario: Migrating Docker Images from Production Server (XYZ Project) Read More »

Avoid Unexpected AWS Extended Support Charges for PostgreSQL 12

Introduction If you’re running PostgreSQL 12 on AWS, you might have noticed an unexpected charge for Extended Support. AWS provides this service to ensure database availability after standard support ends. However, it’s a paid service that can add significant costs if not managed properly. This blog post will explain what AWS Extended Support is, why

Avoid Unexpected AWS Extended Support Charges for PostgreSQL 12 Read More »

How to Access an ECS Fargate Container Using aws ecs execute-command

The aws ecs execute-command command allows you to interactively run shell commands inside a container running in an Amazon ECS cluster. This is useful for debugging, troubleshooting, or performing administrative tasks without redeploying the container. Use cloud console / terminal to execute the following code – aws ecs execute-command \ –cluster rl-staging-cluster \ # ECS

How to Access an ECS Fargate Container Using aws ecs execute-command Read More »

Scroll to Top