From: Wang Jian <lark@linux.net.cn>
To: Andrew Kozachenko <andrew@entri.com.ua>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re[2]: new REBOOT target
Date: Tue, 01 Mar 2005 17:49:21 +0800 [thread overview]
Message-ID: <20050301173801.C851.LARK@linux.net.cn> (raw)
In-Reply-To: <4224265E.5050309@entri.com.ua>
Hi Andrew Kozachenko,
On Tue, 01 Mar 2005 10:22:54 +0200, Andrew Kozachenko <andrew@entri.com.ua> wrote:
> >>
> >>
> Why don't you use snmp trap for this purpose. You can send special snmp
> trap from wherever to machine needs rebooting and running snmptrapd and
> reboots it in a traphandle script.
> Consider using net-snmp for this not netfilter.
>
> >
Because, in this case, user space programs have no chance to run
correctly, only kernel space has chance to do something, for example,
calling machine_restart();
I suspect that some program is hogging the memory system, and system is
busy swapping to death, but I can't make sure that because the console
is locked in this situation. Before I find the culpit, I have to reboot
it when the system is stuck.
--
lark
next prev parent reply other threads:[~2005-03-01 9:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-26 14:30 new REBOOT target Wang Jian
2005-02-28 9:06 ` Max Kellermann
2005-02-28 9:41 ` Re[2]: " Wang Jian
2005-03-01 0:20 ` Max Kellermann
2005-03-01 5:14 ` Re[2]: " Wang Jian
2005-03-01 8:22 ` Andrew Kozachenko
2005-03-01 9:49 ` Wang Jian [this message]
2005-03-01 2:39 ` Tobias DiPasquale
2005-03-01 5:10 ` Re[2]: " Wang Jian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050301173801.C851.LARK@linux.net.cn \
--to=lark@linux.net.cn \
--cc=andrew@entri.com.ua \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.