- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Signal SIGHUP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 10:59 PM
тАО01-26-2004 10:59 PM
I have some applications running on HPUX11i and one of them, at certain point, stopped because it was signalled with SIGHUP. I do not have any application sending that signal so it has to be signalled by the OS.
Does anybody know under which conditions the system is throwing this signal?
Thanks!
Regards, Alberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 11:06 PM
тАО01-26-2004 11:06 PM
SolutionThis is a signal that is sent when a terminal connection is closed. So it might be the process was linked to a terminal or login session that was closed without stopping the proces first.
But there are lots of other reasons a sighup is sent to a process. For instance, most start/stop scripts use a sighup to 'gently' signal a proces it should stop, before doing it drasticaly with a sigkill (-9).
Do you get the message a lot or sporadic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 11:12 PM
тАО01-26-2004 11:12 PM
Re: Signal SIGHUP
I do not think the system will ever send a SIGHUP except as mentioned by Elmar above. Some daemons, such as cron will trap a SIGHUP and re-read their configurations on receipt of the signal. The default action, however, is to quit. My guess would be to look at the "restart" option within the system boot script for this application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 11:23 PM
тАО01-26-2004 11:23 PM
Re: Signal SIGHUP
The application running was associated to a terminal and probably the terminal crashed and thats why it got that signal as you mentioned.
This happen only once but we are trying to dig wherther there is something more important associated to this.
Thanks a lot!
Best regards, Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 11:39 PM
тАО01-26-2004 11:39 PM
Re: Signal SIGHUP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 11:46 PM
тАО01-26-2004 11:46 PM
Re: Signal SIGHUP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2004 11:51 PM
тАО01-26-2004 11:51 PM
Re: Signal SIGHUP
Exactly: if I set TMOUT=600, then run a process in the background ("myprogram &"),
the program will terminate when the parent interactive session is killed after the timeout is exceeded.
You circumvent this by using NOHUP to stop a hangup of the parent killing the background child:
"nohup myprogram &".