Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hello,
Welcome to Microsoft Q&A,
The possible causes could be,
Platform Updates or Host Reallocation
Azure periodically restarts underlying VMs for OS patching or host maintenance.
Your app might have moved to a new host with different resource utilization characteristics.
These can affect CPU usage even if your app hasn't changed.
Noisy Neighbors (Shared Infrastructure)
- In shared environments (especially lower tiers), other apps running on the same worker VM can affect CPU availability.
- While App Service uses resource governance, performance may still vary subtly post-restart.
Change in Azure Runtime or Dependencies
- Platform-wide updates to App Service Linux workers (e.g., .NET Core version patches, Node runtimes) could impact runtime behavior or background processes.
- This includes changes to diagnostic agents or site extensions.
Zombie or Orphaned Worker Processes
- In some edge cases, zombie processes or orphaned tasks (e.g., stuck background jobs, duplicate web workers) may spin post-restart.
To Diagnose,
Check App Service Metrics
- Go to your App Service Plan → Metrics in the Azure portal.
Add metrics for:
CPU Time
Memory Working Set
HTTP Queue Length
Process Count
Compare pre- and post-restart trends. If only the plan-level CPU increased but the app-level CPU stayed flat, it's likely external.
Enable and analyze Application Insights Profiler or Snapshot Debugger to identify inefficient methods or CPU spikes.
Please Upvote and accept the answer if it helps!!