Что такое зомби-процесс?
Asked at
AI answer
A zombie process is a terminated Unix/Linux process whose information remains in the process table because its parent process has not read its exit status using wait() or a similar call. A zombie is not running and consumes almost no resources, but it occupies a process-table entry. Usually, the parent should collect its status; if the parent terminates, the process is adopted by init or another system process, which cleans it up.
Also asked at Касперский
Similar questions
- How does a process differ from a thread, and how do processes communicate with each other?
- What metrics can be determined using the len() function in Python?
- How can you explicitly trigger an exception in negative testing?
- Why is the socket module needed?
- What is the role of methods in software development and why are they used?