Starvation and Aging in Operating Systems Last Updated : 27 Aug, 2025 Comments Improve Suggest changes 118 Likes Like Report Starvation (or indefinite blocking) occurs in priority scheduling when a low-priority process keeps waiting indefinitely because higher-priority processes continuously get the CPU. This problem arises in heavily loaded systems where resources are always occupied by higher-priority tasks, leaving some processes starved. To prevent this, operating systems use aging, a technique that gradually increases the priority of waiting processes, ensuring fair execution.Let's analyze it with an example priority scheduling:Process Burst TimePriorityP1410P271P3102Gantt ChartP1P3P2041421As we see in the above example process has higher priority than other processes getting CPU earlier. We can think of a scenario in which only one process has very low priority (for example 127) and we are giving another process with high priority, this can lead to indefinitely waiting for the process for CPU which has priority, which leads to Starvation. Causes of Starvation Not Fair Scheduling: If there are always higher-priority processes available, then the lower-priority processes may never be allowed to run. Apart from priority, there can be other causes like a scheduling algorithm that randomly picks a process and somehow a victim process is always missed leading to starvation.Limited Resources : Due to limitation of resources one or the other process has to wait.Aging - Solution to StarvationAging is a scheduling technique used to prevent starvation by gradually increasing the priority of processes waiting too long in the system. Ensures fairness, as long-waiting processes eventually get CPU time. Often combined with algorithms like priority scheduling or round-robin to balance short-term efficiency with long-term fairness. For example, if priorities range from 127 (low) to 0 (high), a waiting process can move up one level every 15 minutes, ensuring even the lowest-priority process eventually gets executed. Create Quiz Comment S Saloni Gupta 118 Improve S Saloni Gupta 118 Improve Article Tags : Misc Operating Systems GATE CS Explore OS BasicsIntroduction to Operating System5 min readTypes of Operating Systems9 min readKernel in Operating System3 min readSystem Call2 min readWhat happens when we turn on computer?3 min readProcess ManagementIntroduction of Process Management4 min readCPU Scheduling in Operating Systems7 min readIntroduction to Process Synchronization4 min readSolutions to Process Synchronization Problems4 min readClassical IPC Problems2 min readIntroduction of Deadlock in Operating System3 min readHandling Deadlocks2 min readMultithreading in OS - Different Models4 min readMemory ManagementIntroduction to memory and memory units2 min readMemory Management in Operating System5 min readBuddy System - Memory Allocation Technique4 min readOverlays in Memory Management4 min readVirtual Memory in Operating System7 min readPage Replacement Algorithms in Operating Systems5 min readOperating system based Virtualization5 min readI/O ManagementFile Systems in Operating System4 min readImplementing Directory Management using Shell Script3 min readSecondary Memory7 min readDisk Scheduling Algorithms9 min readDifference between Spooling and Buffering5 min readImportant LinksLast Minute Notes â Operating Systems15+ min readOperating System Interview Questions15+ min read Like