Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 02:52:18 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        stable@freebsd.org
Subject:   large number of logins and utmp
Message-ID:  <199708270952.CAA14284@silvia.HIP.Berkeley.EDU>

index | next in thread | raw e-mail

I just noticed that after increasing the number of pty's to 64, none
of my ttyq xterm's except ttyq0 are registered in utmp.  I tried
slogin, rlogin and telnet, none of them registered their tty either.

===
>> od -c /var/run/utmp | grep q
0000000    t   t   y   q   0  \0  \0  \0   a   s   a   m   i  \0  \0  \0
0003060    t   t   y   p   q  \0  \0  \0   a   s   a   m   i  \0  \0  \0
>> ps gx | grep q
12280  pq  Is     0:00.09 bash
14165  pr  S+     0:00.01 grep q
12254  q0  Is     0:00.09 bash
12250  q1  Is     0:00.09 bash
12245  q2  Is     0:00.09 bash
12199  q3  Is     0:00.09 bash
12232  q4  Is     0:00.09 bash
12229  q5  Is+    0:00.09 bash
12226  q6  Is     0:00.09 bash
12222  q7  Is     0:00.09 bash
12219  q8  Is     0:00.09 bash
12813  q8  S+     0:01.02 tail -n-100 -f /var/log/messages
12217  q9  Is     0:00.09 bash
12216  qa  Is     0:00.09 bash
===

Is this normal?  Also, "ttyq0" appears in the first line of "who",
which appears odd to me.

Satoshi


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708270952.CAA14284>