<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: the process terminated after kill –HUP signal in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247978#M52388</link>
    <description>Thanx</description>
    <pubDate>Wed, 24 Nov 2010 07:05:27 GMT</pubDate>
    <dc:creator>bullz</dc:creator>
    <dc:date>2010-11-24T07:05:27Z</dc:date>
    <item>
      <title>the process terminated after kill –HUP signal</title>
      <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247973#M52383</link>
      <description>Hey all,&lt;BR /&gt;&lt;BR /&gt;As far as I am aware, the command kill –HUP &lt;PID&gt; will not be terminating the process. Just it will try to re read the configuration files.&lt;BR /&gt;But, recently when I faced the LSOF ( list of open files ) issue, to clear the file system utilization issue, I tried restart the tomcat process by kill –HUP &lt;TOMCAT id=""&gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the process terminated after kill –HUP signal&lt;BR /&gt;&lt;BR /&gt;Could you please share your experience on the issue?&lt;BR /&gt;&lt;/TOMCAT&gt;&lt;/PID&gt;</description>
      <pubDate>Fri, 16 Jul 2010 03:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247973#M52383</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-07-16T03:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: the process terminated after kill –HUP signal</title>
      <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247974#M52384</link>
      <description>A process that usually starts when the system boots and shuts down when the system is shut down is called a daemon (Disk And Execution MONitor). If a daemon process has a configuration file which is modified after the process has been started, there should be a way to tell that process to re-read its configuration file, without stopping the process. Many daemons provide this mechanism using the SIGHUP signal handler. When you want to tell the daemon to re-read the file you simply send it the SIGHUP signal.&lt;BR /&gt;&lt;BR /&gt;Not all platforms automatically reinstall their (native) signal handlers after a signal delivery. This means that the handler works only the first time the signal is sent. The solution to this problem is to use POSIX signal handlers if available, their behaviour is well-defined.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlipc/handling_the_sighup_signal_in_daemons.html" target="_blank"&gt;http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlipc/handling_the_sighup_signal_in_daemons.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;from man kill&lt;BR /&gt;--------------&lt;BR /&gt; 1     SIGHUP    Hangup          Terminate; can be trapped&lt;BR /&gt;-------------&lt;BR /&gt;&lt;BR /&gt;You have to make it understand the signals.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Kapil+</description>
      <pubDate>Fri, 16 Jul 2010 04:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247974#M52384</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2010-07-16T04:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: the process terminated after kill –HUP signal</title>
      <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247975#M52385</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;As already explained, the default action for SIGHUP is "Terminate" (see 'man 7 signal').&lt;BR /&gt;&lt;BR /&gt;Do not think of SIGHUP as a generic way to restart processes, only a small number of processes actually do this.&lt;BR /&gt;&lt;BR /&gt;It's probably better to use its init script to restart it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Goran</description>
      <pubDate>Fri, 16 Jul 2010 04:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247975#M52385</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2010-07-16T04:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: the process terminated after kill –HUP signal</title>
      <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247976#M52386</link>
      <description>&lt;!--!*#--&gt;Some programs are written so that they do&lt;BR /&gt;something useful when they get a HUP signal,&lt;BR /&gt;and some are not.  It's often a good idea to&lt;BR /&gt;learn what a program is designed to do when&lt;BR /&gt;it gets some signal _before_ you send it that&lt;BR /&gt;signal.</description>
      <pubDate>Fri, 16 Jul 2010 04:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247976#M52386</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-16T04:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: the process terminated after kill –HUP signal</title>
      <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247977#M52387</link>
      <description>The original purpose of the "kill -HUP" signal was to tell user's processes that the user's dial-in modem connection has been lost. Most user utilites will just die; editors like vi are often programmed to save any modified files in a special location, so that the user does not lose the changes made before the loss of connection. Shell processes will typically execute a logout procedure when they receive the "kill -HUP" signal.&lt;BR /&gt;&lt;BR /&gt;When the modem connection was lost, the HUP signal was sent by the tty driver to all processes using that TTY. Later, the meaning of the HUP signal was generalized to "we've lost the connection with the user, end this login session."&lt;BR /&gt;&lt;BR /&gt;Daemon processes are normally detached from all TTYs, so the loss of login session is not an issue for them. At some point, the early Unix developers decided to re-use the HUP signal to trigger a configuration re-load for daemon processes. Not all daemons can reload their configuration on the fly, and some daemons (particularly Java daemons like Tomcat) may require a different kind of message for configuration reload.&lt;BR /&gt;&lt;BR /&gt;The HUP signal never causes anything to _restart_: if the daemon's PID number changes when a "kill -HUP" is sent to it, it usually means that the HUP signal just kills the daemon, and then something else (maybe init, maybe some other monitoring process?) restarts the daemon.&lt;BR /&gt;&lt;BR /&gt;You should never assume that "kill -HUP" will reload a daemon's configuration without checking the daemon's documentation first.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 16 Jul 2010 09:33:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247977#M52387</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-07-16T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: the process terminated after kill –HUP signal</title>
      <link>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247978#M52388</link>
      <description>Thanx</description>
      <pubDate>Wed, 24 Nov 2010 07:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/the-process-terminated-after-kill-hup-signal/m-p/5247978#M52388</guid>
      <dc:creator>bullz</dc:creator>
      <dc:date>2010-11-24T07:05:27Z</dc:date>
    </item>
  </channel>
</rss>

