From owner-freebsd-current@FreeBSD.ORG Thu Feb 16 01:56:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D5CD16A422 for ; Thu, 16 Feb 2006 01:56:22 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5E2943D46 for ; Thu, 16 Feb 2006 01:56:21 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id k1so71138nzf for ; Wed, 15 Feb 2006 17:56:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dbTPczPGWauq0mL2nogogrXm09KBVnADsqG7+ygDMtZ2NRz0TEjGRUNHQjv8Nw2axl1wSAN/ga0+1pedqbvCdFBdpjLADcY8scieOi8LAOm8XFOkDboBakZu625KbHOpxLPkxWHJocSp7PnMVkIaTKmbn+yHHPHGBQXLejVFg00= Received: by 10.65.252.12 with SMTP id e12mr370186qbs; Wed, 15 Feb 2006 17:56:21 -0800 (PST) Received: by 10.65.112.19 with HTTP; Wed, 15 Feb 2006 17:56:21 -0800 (PST) Message-ID: Date: Thu, 16 Feb 2006 09:56:21 +0800 From: Jiawei Ye To: FreeBSD Current MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: sshd/telnetd stops responding under load X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2006 01:56:22 -0000 I get calcru messages from kernel built with sources 10 hours ago cvsupped via cvsup12. When the system is under load, sshd and inetd can get "calcru" messages and stop responding to any requests. Because the machine is at a remote site, my original idea was to keep sshd and inetd/telnetd running, so that when sshd freezes, I can telnet into the machine and restart sshd (from a security point of view, this is a bad thing, I know). But to my surprise, after sshd froze, telnetd won't respond either. Connection was successful but no login prompt appeared. leafy@mail:~$ zh-telnet chihiro.mydomain.com Trying 203.73.175.155... Connected to chihiro.mydomain.com. Escape character is '^]'. And stops there. Same with ssh. At this time, 1. any CGI script that httpd invokes will not run. 2. Static web pages are served normally (apache22) 3. ftpd responds and works correctly. (pureftpd) 4. Mail can be accepted but not processed properly My guess is that anything related to spawning a new shell does not work at this moment. That's why CGI, mail scanner (amavis, spamassassin), telnetd session, sshd session won't come up. I won't be able to get in front of the console for about 2 more months, but I can get folks to reboot it for me so that I can get in before another freeze. Any ideas what errors to look for? Cheers, Jiawei Ye -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming