Support #753

Restore SIGCHLD/SIGHUP/SIGTERM/SIGINT handlers to default after ndrxd/cpmsrv forks

Added by Lauris about 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:12/30/2021
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

Currently these signals are blocked by ndrxd and forked childs inherits these settings.
This fact may alter further operations by xatmi server childs, and that would make a developers to appear that something isn't right with the system.

History

#1 Updated by Madars about 2 years ago

  • Subject changed from Restore SIGCHLD handlers to default after ndrxd/cpmsrv forks to Restore SIGCHLD/SIGHUP/SIGTERM/SIGINT handlers to default after ndrxd/cpmsrv forks

#2 Updated by Madars about 2 years ago

  • Description updated (diff)

#3 Updated by Lauris about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Release notes

Signal handler and signals masks for signals: SIGCHLD/SIGHUP/SIGTERM/SIGINT are restored to default for XATMI servers.
Previously ndrxd did mask them, thus if such signal was received, the user program actually did not get any interruption. After this release, default signal handler will be executed. Meaning, for example, SIGTERM will kill the XATMI server.

Available from Enduro/X release 8.0.1+.

#4 Updated by Lauris about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF