15You have written a backend service. Make it a proper systemd service. What belongs in the unit file?▼mediumNewRed HatSAPIBM○ sign inMost hand-written units boot in dev and die in production. The gap is Type selection, restart policy, and the drop-in workflow vendors expect you to respect.Open full answer →
25After scaling workers the app dies with too many open files. How do you raise the limit so it actually sticks?▼mediumNewPhonePeSwiggyInfosys◆ premiumEveryone knows ulimit -n. The interview question is which process inherits which value, why limits.conf did nothing for your service, and how you size the ceiling honestly.Open full answer →
42After a reboot the journal is empty. How does journald decide what to keep, and how do you fix retention?▼easyNewTCSInfosysRed Hat◆ premiumVolatile by default on many distros, size-capped by silent policy, binary on disk. Know the storage modes, the vacuum knobs, and how journald feeds central logging.Open full answer →
44One service saturates the shared disk every night. How do you contain it with the cgroup v2 io controller?▼hardNewDatabricksSnowflakeNetflix◆ premiumAbsolute caps versus latency-target protection, systemd IO attributes versus raw io.max, and why ionice lies to you. The staff-level answer assigns the job its own slice with intent.Open full answer →
39A maintenance reboot made pods vanish instead of draining. Why did they never show Terminating at all?▼hardNewMetaOracleAccenture◆ premiumPod-level SIGTERM handling and node-level shutdown coordination are different mechanisms, and conflating them is the trap. The kubelet can only drain pods on power-off if it participates in systemd's shutdown sequence.Open full answer →
17A VM rebooted after a storage change and dropped into emergency mode. Talk me through the recovery and what you check first.▼mediumNewMicrosoftOracleIBM○ sign inEmergency mode after a storage change is usually one line in fstab. What interviewers score is your order of operations and whether your recovery preserves data-mount dependencies.Open full answer →
21The CI runner's Docker daemon crashed mid-build and refuses to start. Release is blocked. Get us shipping again.▼mediumNewGitLabAtlassianAccenture◆ premiumEveryone reaches for reinstall. The disciplined path is one journal file, four failure signatures, and an explicit decision about whether this host deserves surgery at all.Open full answer →
25A service on a VM dies and restarts every few minutes, and the team has shrugged for weeks. Find the actual cause.▼easyNewTCSInfosysIBM◆ premiumThis one separates people who read journals from people who restart harder. The exit code and signal systemd already recorded usually name the disease.Open full answer →
30The kernel OOM killer shot our observability agent instead of the worker that ate the memory. How does it pick victims?▼hard★ EssentialNewNetflixDatadogUber◆ premiumThe kill was not random and it was not fair. Learn the scoring function the kernel actually uses, then bend it with oom_score_adj before your monitoring dies during the next leak.Open full answer →