Date: Wed, 14 Apr 1999 11:59:41 -0700 (PDT) From: christmn@clackamas.ds.adp.com To: freebsd-gnats-submit@freebsd.org Subject: bin/11137: /bin/ps output loses the values for all pseudo-ports beyond the ttyp[0-v] Message-ID: <19990414185941.5A6EA1582E@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 11137 >Category: bin >Synopsis: /bin/ps output loses the values for all pseudo-ports beyond the ttyp[0-v] >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 14 12:00:02 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Don Christmann >Release: 2.2.6, 2.2.7, 2.2.8, 3.0, 3.1-stable >Organization: ADP Dealer Services, Inc. >Environment: flomhd.florence.ds.adp.com 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Mon Jan 4 19:52:53 EST 1999 root@flomhd.florence.ds.adp.com:/usr/src/sys/compile/FLORENCE i386FreeBSD usrhubbsd.clifton.ds.adp.com 3.1-RELEASE FreeBSD 3.1-RELEASE #2: Thu Apr 8 19:23:40 EDT 1999 root@usrhubbsd.clifton.ds.adp.com:/usr/src/sys/compile/USRHUBBSD i386 FreeBSD surrogate.clifton.ds.adp.com 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Fri Feb 12 17:13:38 EST 1999 root@surrogate.clifton.ds.adp.com:/usr/src/sys/compile/SURROGATE i386 FreeBSD mhds1.clackamas.ds.adp.com 3.0-RELEASE FreeBSD 3.0-RELEASE #1: Fri Mar 26 11:56:36 PST 1999 root@mhds1.clackamas.ds.adp.com:/usr/src/sys/compile/CLACKMHD i386 >Description: I am running 11 servers (Pentium-II 350mhz) accross the country for a virtual modem pool with USR Total Control Modem Hubs. Every server is configured for 256 pseudo-ttys. After a couple of weeks under load /bin/ps output starts showing '??' for all ttys except for the first 32 (ttyp[0-v]). My vitual modem_pool app does not key on this to run, but it causes big problems for troubleshooting. A reboot seems to fix. It appears that the kernel process table contains the correct tty info but the /bin/ps probe no longer reports it. This has happened on 6 of the servers now. We reboot and it is fine. FreeBSD (flomhd.florence.ds.adp.com) (ttyq3) login: mhdsupp Password: Last login: Wed Apr 14 14:46:23 from 139.126.49.127 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 2.2.6-RELEASE (FLORENCE) #0: Mon Jan 4 19:52:53 EST 1999 Welcome to FreeBSD! If the doc distribution has been loaded on this machine, the FreeBSD Handbook will be in file:/usr/share/doc/handbook and the FAQ in file:/usr/share/doc/FAQ Type /stand/sysinstall to re-enter the installation and configuration utility. $ tty /dev/ttyq3 $ ps -t q3 PID TT STAT TIME COMMAND 23322 ?? Ss 0:00.05 -sh (sh) 23324 ?? R+ 0:00.00 ps -t q3 $ ps PID TT STAT TIME COMMAND 20975 p5 Is+ 0:00.04 -sh (sh) 20977 p8 Is+ 0:00.04 -sh (sh) 13095 pa Is 0:00.07 -sh (sh) 20980 pb Is+ 0:00.04 -sh (sh) 22887 pd Is+ 0:00.06 -sh (sh) 21078 ph Is+ 0:00.04 -sh (sh) 21146 pj Is+ 0:00.05 -sh (sh) 21264 pm Is+ 0:00.04 -sh (sh) 23307 pt Is+ 0:00.04 -sh (sh) 23309 pu Is+ 0:00.04 -sh (sh) 23311 pv Is+ 0:00.05 -sh (sh) 23314 ?? Is+ 0:00.05 -sh (sh) 23316 ?? Is+ 0:00.04 -sh (sh) 23317 ?? Is+ 0:00.05 -sh (sh) 23322 ?? Rs 0:00.05 -sh (sh) 23327 ?? R+ 0:00.00 ps $ ps -t q1 PID TT STAT TIME COMMAND 23316 ?? Is+ 0:00.04 -sh (sh) $ ps -t q2 PID TT STAT TIME COMMAND 23317 ?? Is+ 0:00.05 -sh (sh) $ ps -ax PID TT STAT TIME COMMAND 0 ?? DLs 0:09.05 (swapper) 1 ?? Is 0:03.15 /sbin/init -- 2 ?? DL 0:00.21 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 117:42.25 (update) 27 ?? Is 0:00.00 adjkerntz -i 80 ?? Is 1:06.64 syslogd 90 ?? Is 0:00.01 portmap 111 ?? Is 0:28.87 inetd 114 ?? Is 1:20.80 cron 117 ?? Ss 0:00.62 sendmail: accepting connections on port 25 (sendmail) 1614 ?? Is 0:00.13 telnetd 6310 ?? Is 0:00.27 telnetd 8952 ?? Is 0:00.18 telnetd 11041 ?? Is 0:00.32 telnetd 11464 ?? Ss 0:00.27 telnetd 12535 ?? Is 0:00.51 telnetd 13058 ?? Is 0:01.17 telnetd 14753 ?? Is 0:00.14 telnetd 18820 ?? Is 0:00.05 telnetd 20270 ?? Is 0:00.19 telnetd 20591 ?? Ss 0:00.10 telnetd 20960 ?? Is 0:00.04 rlogind 20974 ?? Is 0:00.03 telnetd 20976 ?? Is 0:00.03 telnetd 20978 ?? Is 0:00.03 telnetd 20983 ?? Is 0:00.06 telnetd 20988 ?? Is 0:00.03 telnetd 21107 ?? Is 0:00.03 telnetd 21214 ?? Is 0:00.03 telnetd 21692 ?? Is 0:00.09 telnetd 22068 ?? Ss 0:00.09 telnetd 22462 ?? Ss 0:00.10 telnetd 22571 ?? Is 0:00.07 telnetd 22886 ?? Is 0:00.04 telnetd 22891 ?? Is 0:00.08 telnetd 23306 ?? Is 0:00.03 telnetd 23308 ?? Is 0:00.03 telnetd 23310 ?? Is 0:00.03 telnetd 23312 ?? Is 0:00.03 telnetd 23313 ?? Is 0:00.03 telnetd 23315 ?? Is 0:00.04 telnetd 23321 ?? Ss 0:00.05 telnetd 23325 ?? Ss 0:00.04 telnetd 24578 ?? Ss 0:06.12 telnetd 24858 ?? Is 0:00.51 telnetd 29286 ?? Is 0:00.16 telnetd 29352 ?? Is 0:00.05 telnetd 24859 p0 Is+ 0:00.75 -bash (bash) 25336 p0 I+ 0:00.41 /usr/sbin/tcpconn -e\^E -d /dev/ttyP0 mhdh1.florence.ds.adp.com 25339 p0 I+ 0:00.13 cu -x chat -l /dev/ptyP0 16163921149 25358 p0 I+ 0:00.15 cu -x chat -l /dev/ptyP0 16163921149 20592 p1 Is+ 0:00.63 -bash (bash) 20938 p1 S+ 0:00.06 /usr/sbin/tcpconn -e\^E -d /dev/ttyP1 mhdh1.florence.ds.adp.com 20941 p1 S+ 0:00.04 cu -x chat -l /dev/ptyP1 19376446461 20973 p1 S+ 0:00.02 cu -x chat -l /dev/ptyP1 19376446461 18821 p2 Is+ 0:00.65 -bash (bash) 19226 p2 I+ 0:00.02 /usr/sbin/tcpconn -e\^E -d /dev/ttyP3 mhdh1.florence.ds.adp.com 19228 p2 I+ 0:00.03 cu -x chat -l /dev/ptyP3 12193477291 19234 p2 I+ 0:00.00 cu -x chat -l /dev/ptyP3 12193477291 11465 p3 Is+ 0:00.73 -bash (bash) 11922 p3 S+ 0:00.20 /usr/sbin/tcpconn -e\^E -d /dev/ttyP5 mhdh1.florence.ds.adp.com 11926 p3 S+ 0:00.10 cu -x chat -l /dev/ptyP5 12194355477 12947 p3 S+ 0:00.06 cu -x chat -l /dev/ptyP5 12194355477 20961 p4 Is+ 0:00.11 -bash (bash) 20975 p5 Is+ 0:00.04 -sh (sh) 29287 p6 Is+ 0:00.60 -bash (bash) 29625 p6 I+ 0:00.10 /usr/sbin/tcpconn -e\^E -d /dev/ttyP4 mhdh1.florence.ds.adp.com 29628 p6 I+ 0:00.05 cu -x chat -l /dev/ptyP4 17175692155 29635 p6 I+ 0:00.04 cu -x chat -l /dev/ptyP4 17175692155 20292 p7 Is+ 0:01.19 -bash (bash) 23915 p7 I+ 0:00.16 /usr/sbin/tcpconn -e\^E -d /dev/ttyP8 mhdh1.florence.ds.adp.com 23918 p7 I+ 0:00.08 cu -x chat -l /dev/ptyP8 14408714099 24317 p7 I+ 0:00.04 cu -x chat -l /dev/ptyP8 14408714099 20977 p8 Is+ 0:00.04 -sh (sh) 1615 p9 Is+ 0:00.68 -bash (bash) 2665 p9 I+ 0:00.09 /usr/sbin/tcpconn -e\^E -d /dev/ttyP7 mhdh1.florence.ds.adp.com 2703 p9 I+ 0:00.06 cu -x chat -l /dev/ptyP7 13017392448 3188 p9 I+ 0:00.03 cu -x chat -l /dev/ptyP7 13017392448 13095 pa Is 0:00.07 -sh (sh) 15065 pa I+ 0:00.64 -su (bash) 20980 pb Is+ 0:00.04 -sh (sh) 22572 pc Is+ 0:01.34 -bash (bash) 22887 pd Is+ 0:00.06 -sh (sh) 20984 pe Is+ 0:00.62 -bash (bash) 21677 pe I+ 0:00.03 /usr/sbin/tcpconn -e\^E -d /dev/ttyP9 mhdh1.florence.ds.adp.com 21679 pe I+ 0:00.04 cu -x chat -l /dev/ptyP9 14405727613 21689 pe I+ 0:00.00 cu -x chat -l /dev/ptyP9 14405727613 29353 pf Is+ 0:00.75 -bash (bash) 12536 pg Is+ 0:00.64 -bash (bash) 12923 pg I+ 0:00.32 /usr/sbin/tcpconn -e\^E -d /dev/ttyPd mhdh1.florence.ds.adp.com 12926 pg I+ 0:00.13 cu -x chat -l /dev/ptyPd 17574244781 12946 pg I+ 0:00.12 cu -x chat -l /dev/ptyPd 17574244781 21078 ph Is+ 0:00.04 -sh (sh) 11043 pi Is+ 0:00.63 -bash (bash) 11394 pi I+ 0:00.25 /usr/sbin/tcpconn -e\^E -d /dev/ttyP2 mhdh1.florence.ds.adp.com 11397 pi I+ 0:00.13 cu -x chat -l /dev/ptyP2 14409519639 11402 pi I+ 0:00.08 cu -x chat -l /dev/ptyP2 14409519639 21146 pj Is+ 0:00.05 -sh (sh) 8959 pk Is+ 0:00.72 -bash (bash) 9595 pk I+ 0:00.13 /usr/sbin/tcpconn -e\^E -d /dev/ttyPh mhdh1.florence.ds.adp.com 9598 pk I+ 0:00.05 cu -x chat -l /dev/ptyPh 14102827395 10826 pk I+ 0:00.05 cu -x chat -l /dev/ptyPh 14102827395 24579 pl Is 0:00.05 -sh (sh) 24621 pl S+ 1:00.59 top 21264 pm Is+ 0:00.04 -sh (sh) 21693 pn Is+ 0:00.62 -bash (bash) 22060 pn I+ 0:00.05 /usr/sbin/tcpconn -e\^E -d /dev/ttyPa mhdh1.florence.ds.adp.com 22063 pn I+ 0:00.05 cu -x chat -l /dev/ptyPa 13132910686 22460 pn I+ 0:00.01 cu -x chat -l /dev/ptyPa 13132910686 22892 po Is+ 0:00.69 -bash (bash) 23297 po I+ 0:00.04 /usr/sbin/tcpconn -e\^E -d /dev/ttyP6 mhdh1.florence.ds.adp.com 23300 po I+ 0:00.03 cu -x chat -l /dev/ptyP6 17243277814 23305 po I+ 0:00.01 cu -x chat -l /dev/ptyP6 17243277814 6311 pp Is+ 0:00.72 -bash (bash) 6798 pp I+ 0:00.18 /usr/sbin/tcpconn -e\^E -d /dev/ttyPl mhdh1.florence.ds.adp.com 6800 pp I+ 0:00.08 cu -x chat -l /dev/ptyPl 18146237139 6823 pp I+ 0:00.06 cu -x chat -l /dev/ptyPl 18146237139 14774 pq Is+ 0:00.77 -bash (bash) 16277 pq I+ 0:00.11 /usr/sbin/tcpconn -e\^E -d /dev/ttyPi mhdh1.florence.ds.adp.com 16283 pq I+ 0:00.07 cu -x chat -l /dev/ptyPi 13305335562 17084 pq I+ 0:00.03 cu -x chat -l /dev/ptyPi 13305335562 22069 pr Ss+ 0:00.66 -bash (bash) 23763 pr S+ 0:00.00 sleep 1 22463 ps Is+ 0:00.64 -bash (bash) 22861 ps S+ 0:00.06 /usr/sbin/tcpconn -e\^E -d /dev/ttyPc mhdh1.florence.ds.adp.com 22864 ps S+ 0:00.05 cu -x chat -l /dev/ptyPc 13138750372 22885 ps S+ 0:00.01 cu -x chat -l /dev/ptyPc 13138750372 23307 pt Is+ 0:00.04 -sh (sh) 23309 pu Is+ 0:00.04 -sh (sh) 23311 pv Is+ 0:00.05 -sh (sh) 23314 ?? Is+ 0:00.05 -sh (sh) 23316 ?? Is+ 0:00.04 -sh (sh) 23317 ?? Is+ 0:00.05 -sh (sh) 23322 ?? Ss 0:00.06 -sh (sh) 23764 ?? R+ 0:00.00 ps -ax 23326 ?? Ss+ 0:00.66 -bash (bash) 23741 ?? S+ 0:00.01 /usr/sbin/tcpconn -e\^E -d /dev/ttyPe mhdh1.florence.ds.adp.com 23744 ?? S+ 0:00.03 cu -x chat -l /dev/ptyPe 14402431571 170 v0 Is+ 0:00.07 -sh (sh) 171 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1 172 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2 $ >How-To-Repeat: So far I have not figured out what causes it. We do run and utilize up to 200 or better pseudo-ports at a time on some of the boxes. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990414185941.5A6EA1582E>