Describe the concept of a signal, and indicate configuration

Assignment Help Operating System
Reference no: EM13942824

When a child process is fork()ed, a parent may wait for the successful completion of the child via the wait() service (or one of its variants) so that the return result of that application can be read from the process descriptor block.

If the parent does not perform a wait() operation on the child process after it terminates, Unix will keep the process descriptor block active for this application in hopes that eventually the parent will wait() or that the parent will itself terminate.
If you perform the ps command in this scenario, you may find a number of "zombie" processes - these are processes marked with a Z in the output of ps that are children of a currently running parent that hasn't yet waited upon their completion. Normally, this isn't much of a problem, as eventually, the parent will terminate and cause the zombie tasks to be deallocated.

However, in a server application such as the email database server above, this becomes a problem, as the server generally never terminates, and as a result, the system list of process descriptor blocks becomes cluttered by zombies (processes that have properly terminated by haven't been waited upon by the parent).
To avoid this problem, Unix ensures that a terminating child application can send a signal to the parent indicating that it has terminated (SIG_CHILD). The parent should catch this signal, and issue a wait() or one of its variants to clean up the zombied process descriptor block.

For this question, describe the concept of a signal, and indicate how the parent application can be configured to act upon the SIG_CHILD signal from each child as they terminate to avoid the zombie issue.
In your answer, discuss the OS services that Unix provides to support signal processing.

Reference no: EM13942824

Questions Cloud

Publishes hard copy dictionaries : You work for Don's Dictionaries, a traditional business that publishes hard copy dictionaries in several common languages, including English, Spanish, French, Japanese, and Italian. In the innovative economy, Don's Dictionaries is struggling to stay ..
Produce a cumulative probabilities report and graph : Produce a cumulative probabilities report and graph for the question. Based on results and the decision criteria, will the CEO accept or reject the proposed production of the product?
Breadth of heath care information on the internet : The wide-reaching span of today's global society is increasingly being seen in the breadth of heath care information on the Internet. Today's patients are more informed than ever and can easily find information on anything from diseases to treatme..
How could iger and his top management : What challenges do you think Disney might face in doing business in Russia? How could Iger and his top management team use planning to best prepare for those challenges?
Describe the concept of a signal, and indicate configuration : When a child process is fork()ed, a parent may wait for the successful completion of the child via the wait() service (or one of its variants) so that the return result of that application can be read from the process descriptor block.
Privacy-confidentiality and security issues : Loss of data, theft, and penetration of system safeguards are the main ways in which large scale electronic data can be compromised. With the increasing use of digital and electronic information technologies in health care, it is more important th..
White privilege : What does the author mean by the concept of "white privilege"?Re-read the author's list of 46 examples of white privilege. Select the five examples that seem the most significant in helping you to understand that white people are privileged. Explain ..
Visual dss to run a monte carlo simulation : You are required to use Visual DSS to run a Monte Carlo simulation (a Risk Analysis).
Why is there no market supply curve under conditions : Why is there no market supply curve under conditions of monopoly?

Reviews

Write a Review

Operating System Questions & Answers

  Discuss the purpose of operating systems

Discuss the purpose of operating systems and Describe the components that comprise operating systems and the functions of each of these components

  Modify the program so that thread acts as a producer

Modify the program so that threadOne( ) acts as a producer by counting up to 5 then threadTwo( ) acts as a consumer and counts down for five iterations. Alternate for 5 productions and 5 consumptions for exactly 3 times.

  Evaluate different memory allocation techniques

The objective of this week's lab is to simulate and evaluate different memory allocation/deallocation techniques (first fit, next fit, best fit, and worst fit)when a linked list is used to keep track of memory usage

  Network security methodology and technology

Explain the network security methodology and technology used in your organization and recognize any additional controls needed.

  Characterize page fault rate-process first start execution

When a process first start execution, how would you characterize the page fault rate? Once the working set for a process is loaded into memory, how would you characterize the page fault rate?

  Write an essay on the using virtualization topic

Technicians often have to work with multiple operating systems, but are sometimes limited to a single workstation. Write an essay on the Using Virtualization topic

  Describe the processes involved in the management

Identify and describe the processes involved in the management of the services, disk quotas and security of both Windows and UNIX operating systems.

  C language code that reads a lowercase

Required some guidance writing a program in C code that reads a lowercase string of characters from a text document named "data.txt",

  What are entities that are swapped out of the main memory

What are the entities that are swapped out of the main memory while swapping the process out of the main memory? What is Fork swap?

  Versions of unix

Early versions of UNIX were available only with a command-driven interface. In more recent years, graphical user interfaces have become popular. Explain in your own words why these GUIs made an impact on the popularity of this operating system.

  Multicast service model in the internet

Those applications that do not need a high level of reliability for operations can use the Minimalist Internet Multicast service model, like streaming of continues information in the forms of audio or video

  The executable should be testparser please include makefile

the executable should be testparser .please include makefile. please add as many comments as you can.verify the below

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd