InterviewStack.io LogoInterviewStack.io

Process & Thread Management Questions

The lifecycle of processes and threads: creation and termination, process states, the process control block, parent/child relationships, zombies and orphans, and the distinction between processes and threads. Covers how the OS tracks and isolates execution contexts and how threads share address space while maintaining separate stacks and registers.

MediumTechnical
60 practiced

Describe copy-on-write semantics after fork(2) on Linux. When the child writes to memory, what happens at page granularity? Explain how madvise(MADV_DONTNEED), mlockall, and the kernel OOM killer interact with COWed pages, and list SRE best practices for services that rely on frequent forking with large address spaces.

That is every published Process & Thread Management question for Site Reliability Engineer (SRE) so far. Browse the other topics in this category, or practice this one interactively.