linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boris Pisarcik <boris@acheron.sk>
To: linux-kernel@vger.kernel.org
Subject: Question about SysRq
Date: Sat, 31 Mar 2001 23:04:54 +0200	[thread overview]
Message-ID: <20010331230454.A801@Boris> (raw)

Hi.

I managed fullowing situation: user with no ulimits will run script like
this:

#! /usr/bin/perl

while (1)
{
  fork();
};

on say tty2. The processes get created pretty fast. After a short while
I supposed a single solution to this to kill all session by alt+sysrq+k,
but nothing happened. Under normal averagely loaded situation, this will
imidiately kill all processes on current vt and bring getty prompt. 
Shouldn't it function similiarily in former case ? I see all processes on vt 
get SIGKILL, so what's hapenned ? Maybe I had to wait
a bit longer for kernel to accomplish that ? Killing all processes with init 
(alt+sysrq+i) seems to be immediate.


Thought, i really love all sysrq properties of linux, so i need less often
to make hardware resets an then await and fear, what fsck will print.
One more property, that i'd like to have should be request key to force the
most basic text mode (say 80x25) on the console, when eg. X freezes and 
i kill its session, then last gfx mode resides on the screen and see no way 
to restore back the text mode - /usr/bin/reset or something alike will not 
do it. But it seems to be not a good idea at all, does it ? 

Cheers                                                                 B.


-- 

             reply	other threads:[~2001-03-31 20:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-31 21:04 Boris Pisarcik [this message]
2001-04-02 16:35 ` Basic Text Mode (was: Re: Question about SysRq) Thorsten Glaser Geuer
2001-04-04  7:44   ` Boris Pisarcik
2001-04-02 23:59 ` Question about SysRq Dr. Kelsey Hudson
2001-04-04  0:39   ` Boris Pisarcik
2001-04-03 22:36     ` Andreas Dilger
2001-04-12 18:51     ` Dr. Kelsey Hudson
     [not found] ` <m2n1a1pj8r.fsf@boreas.yi.org.>
2001-04-04  7:12   ` Boris Pisarcik

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=20010331230454.A801@Boris \
    --to=boris@acheron.sk \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).