From: Nuno Monteiro <nuno@itsari.org>
To: linux-kernel@vger.kernel.org
Subject: something funny about tty's on 2.6.4-rc1-mm1
Date: Mon, 1 Mar 2004 18:45:12 +0000 [thread overview]
Message-ID: <20040301184512.GA21285@hobbes.itsari.int> (raw)
Hi all,
I just took 2.6.4-rc1-mm1 for a spin, and there's definitely something
funny about tty's. I left the computer unattended and had visitors over,
among them small children who, apparently, decided I needed 350 aterm's
open ;-). So, after they left I issued a 'killall -9 aterm' and fired up
a new one, and here's something definitely interesting:
nuno@hobbes:~$ w
18:33:56 up 4:08, 157 users, load average: 0.03, 0.89, 1.51
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
nuno :0 14:26 ?xdm? 3:55 0.95s gnome-session
nuno pts/358 18:30 0.00s 0.10s 0.00s w
I know for a fact that I don't have 157 logged in users (well, there's
only 45 processes running right now), and shouldn't pts' be recycled, and
a lower number be assigned? The last kernel I ran was 2.6.3, and none of
this happened.
My config is:
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=512
and this is a plain jane static /dev -- not devfs nor udev. Despite the
supposedly 157 users logged in, /dev/pts only contains '358', which is
the one allocated to this instance of aterm right now.
nuno@hobbes:~$ ls -l /dev/pts
total 0
crw--w---- 1 nuno users 136, 102 Mar 1 18:41 358
In the mean time I'll fall back to 2.6.3.
Regards,
Nuno
next reply other threads:[~2004-03-01 18:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-01 18:45 Nuno Monteiro [this message]
2004-03-01 19:09 ` Richard B. Johnson
2004-03-02 5:47 ` H. Peter Anvin
2004-03-02 14:52 ` James H. Cloos Jr.
2004-03-02 15:02 ` Richard B. Johnson
2004-03-02 17:47 ` James H. Cloos Jr.
2004-03-02 16:54 ` H. Peter Anvin
2004-03-02 22:08 ` Andrew Morton
2004-03-03 2:29 ` H. Peter Anvin
2004-03-02 19:04 Albert Cahalan
2004-03-02 19:54 ` H. Peter Anvin
2004-03-02 22:46 ` Edgar Toernig
2004-03-02 23:59 ` H. Peter Anvin
2004-03-03 4:12 Albert Cahalan
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=20040301184512.GA21285@hobbes.itsari.int \
--to=nuno@itsari.org \
--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
all inboxes | Powered by JetHome®