What is a process in state D waiting for? Can it wait for the network?
Asked at
AI answer
In Linux, D state is uninterruptible sleep: a process or thread is usually waiting for a kernel operation to finish, often disk I/O. Waiting for data from a TCP socket is more commonly shown as S (interruptible sleep), but waiting in a network file system or another kernel-level network path can result in D. So D does not mean waiting for a disk exclusively; a signal usually cannot interrupt this sleep until the process leaves the wait.
Also asked at RWB
- Why did you decide to change jobs / leave your current company?
- What is the key difference between TCP and UDP?
- What is the difference between git merge and git rebase? When should each approach be used?
- What is an inode in Linux?
- Which command is used to determine the route of a packet from your device to the target host?
Similar questions
- Can you tell me about process states in Linux (R, S, D, T, Z)? What do they mean?
- What should you do about accumulated zombie processes? How can you get rid of them?
- There are 3,000 zombie processes on a server. Can this happen, and why? Is it bad or good?
- How can you tell whether there are network problems, and where would you see that in the console?
- What is the PID limit in the system?