From owner-freebsd-questions Mon Mar 5 22: 8:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ppp2.kornet.net (ppp2.kornet.net [211.48.62.142]) by hub.freebsd.org (Postfix) with ESMTP id 24DFA37B718 for ; Mon, 5 Mar 2001 22:08:50 -0800 (PST) (envelope-from h881108@kornet.net) Received: from kyeungja (211.220.55.57) by ppp2.kornet.net; 6 Mar 2001 15:08:47 +0900 Message-ID: <002e01c0a668$caccc180$6606a8c0@kyeungja.dbsoft.co.kr> From: "=?x-user-defined?B?sejA57/s?=" To: Subject: Ghost process with broken telnet connection. Date: Wed, 7 Mar 2001 03:10:57 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="x-user-defined" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have 2 FreeBSD 4.2 system, one for telnet service and the orther for application development. I have find out some strange things concernning with telnet connections, especially in broken telnet connections. Hereinafter, my experiences; AA. Tested Software FreeBSD 4.2 Release FreeBSD 4 Stable 2001.02.18 snap.kr.install.iso FreeBSD 4.11 Release BB. Tested Telnet Client NetTerm 4.2 Telnet.exe included in Win98 telnet included in FreeBSD and Linux CC. Tested Hardware Intel Server 800MHz with 256MB RAM, 8GB Segate SCSI HDD, 100MBPS Intel NIC Pentium 150MHz with 64MB RAM, 30GB IBM HDD, 10MBPS 3C900 NIC DD. Procedures aa. Open two telnet clients window at Win98 or orther clients bb. Run infinite loop program ( ex. top ) at each telnet terminal after successfully login to BSD. cc. Disconnect one telnet client connection without normal procedure. This means break the telnet connection in force, killing telnet client window is a example. dd. Then watch the orther telnet client's window, the top process says the idle CPU time is almost zero(0) per cent. And you will find out the infinite loop process( another top which ran from broken telnet session in this case ) remains and occupy every CPU time. My guess is the process belongs to broken telnet session does not realize that session was broken and retry to create a new process tediously, but nothing is clear. ee. A shell script which read user input from keyboard in a loop makes same result. ff. After a couple of test, system's reply is slow down in significant. Especially lots of I/O, ls -lRa /* in example. One day my telnet server had 450 more processes without any logged in user, most of them are the ghost process described above. Is there anyone who knows solutions or suggestions for this problem, who experienced same thing ? Thanks h881108@kornet.net KIM Jaewoo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message